1 // Licensed to the .NET Foundation under one or more agreements.
2 // The .NET Foundation licenses this file to you under the MIT license.
3 // See the LICENSE file in the project root for more information.
4 // ------------------------------------------------------------------------------
5 // Changes to this file must follow the http://aka.ms/api-review process.
6 // ------------------------------------------------------------------------------
7 
8 
9 namespace System
10 {
11     public partial interface IServiceProvider
12     {
GetService(System.Type serviceType)13         object GetService(System.Type serviceType);
14     }
15 }
16 namespace System.ComponentModel
17 {
18     public partial class CancelEventArgs : System.EventArgs
19     {
CancelEventArgs()20         public CancelEventArgs() { }
CancelEventArgs(bool cancel)21         public CancelEventArgs(bool cancel) { }
22         public bool Cancel { get { throw null; } set { } }
23     }
24     public partial interface IChangeTracking
25     {
26         bool IsChanged { get; }
AcceptChanges()27         void AcceptChanges();
28     }
29     public partial interface IEditableObject
30     {
BeginEdit()31         void BeginEdit();
CancelEdit()32         void CancelEdit();
EndEdit()33         void EndEdit();
34     }
35     public partial interface IRevertibleChangeTracking : System.ComponentModel.IChangeTracking
36     {
RejectChanges()37         void RejectChanges();
38     }
39 }
40