forked from dotnet/runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSystem.ComponentModel.cs
More file actions
37 lines (36 loc) · 1.12 KB
/
System.ComponentModel.cs
File metadata and controls
37 lines (36 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// ------------------------------------------------------------------------------
// Changes to this file must follow the https://aka.ms/api-review process.
// ------------------------------------------------------------------------------
namespace System
{
public partial interface IServiceProvider
{
object? GetService(System.Type serviceType);
}
}
namespace System.ComponentModel
{
public partial class CancelEventArgs : System.EventArgs
{
public CancelEventArgs() { }
public CancelEventArgs(bool cancel) { }
public bool Cancel { get { throw null; } set { } }
}
public partial interface IChangeTracking
{
bool IsChanged { get; }
void AcceptChanges();
}
public partial interface IEditableObject
{
void BeginEdit();
void CancelEdit();
void EndEdit();
}
public partial interface IRevertibleChangeTracking : System.ComponentModel.IChangeTracking
{
void RejectChanges();
}
}