44 lines
2.0 KiB
C#
44 lines
2.0 KiB
C#
using System;
|
|
using System.ComponentModel.Design;
|
|
using System.ComponentModel.Design.Serialization;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.ComponentModel
|
|
{
|
|
/// <summary>Provides functionality required by all components.</summary>
|
|
// Token: 0x02000133 RID: 307
|
|
[Token(Token = "0x2000133")]
|
|
[TypeConverter]
|
|
[ComVisible(true)]
|
|
[TypeConverter(typeof(ComponentConverter))]
|
|
[Designer("System.ComponentModel.Design.ComponentDesigner, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof(IDesigner))]
|
|
[RootDesignerSerializer("System.ComponentModel.Design.Serialization.RootCodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", true)]
|
|
[Designer("System.Windows.Forms.Design.ComponentDocumentDesigner, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof(IRootDesigner))]
|
|
public interface IComponent : IDisposable
|
|
{
|
|
/// <summary>Gets or sets the <see cref="T:System.ComponentModel.ISite" /> associated with the <see cref="T:System.ComponentModel.IComponent" />.</summary>
|
|
/// <returns>The <see cref="T:System.ComponentModel.ISite" /> object associated with the component; or <see langword="null" />, if the component does not have a site.</returns>
|
|
// Token: 0x1700016C RID: 364
|
|
// (get) Token: 0x060007B4 RID: 1972
|
|
// (set) Token: 0x060007B5 RID: 1973
|
|
[Token(Token = "0x1700016C")]
|
|
ISite Site
|
|
{
|
|
[Token(Token = "0x60007B4")]
|
|
[Address(Slot = "0")]
|
|
get;
|
|
[Token(Token = "0x60007B5")]
|
|
[Address(Slot = "1")]
|
|
set;
|
|
}
|
|
|
|
/// <summary>Represents the method that handles the <see cref="E:System.ComponentModel.IComponent.Disposed" /> event of a component.</summary>
|
|
// Token: 0x14000009 RID: 9
|
|
// (add) Token: 0x060007B6 RID: 1974
|
|
// (remove) Token: 0x060007B7 RID: 1975
|
|
[Token(Token = "0x14000009")]
|
|
event EventHandler Disposed;
|
|
}
|
|
}
|