182 lines
7.5 KiB
C#
182 lines
7.5 KiB
C#
using System;
|
|
using System.ComponentModel.Design;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.ComponentModel
|
|
{
|
|
/// <summary>Implements <see cref="T:System.ComponentModel.IComponent" /> and provides the base implementation for remotable components that are marshaled by value (a copy of the serialized object is passed).</summary>
|
|
// Token: 0x02000166 RID: 358
|
|
[Token(Token = "0x2000166")]
|
|
[DesignerCategory]
|
|
[TypeConverter]
|
|
[Designer("System.Windows.Forms.Design.ComponentDocumentDesigner, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof(IRootDesigner))]
|
|
[DesignerCategory("Component")]
|
|
[TypeConverter(typeof(ComponentConverter))]
|
|
[ComVisible(true)]
|
|
public class MarshalByValueComponent : IComponent, IDisposable, IServiceProvider
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.MarshalByValueComponent" /> class.</summary>
|
|
// Token: 0x06000899 RID: 2201 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000899")]
|
|
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
|
public MarshalByValueComponent()
|
|
{
|
|
}
|
|
|
|
/// <summary>Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.</summary>
|
|
// Token: 0x0600089A RID: 2202 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600089A")]
|
|
[Address(RVA = "0x4F3B70", Offset = "0x4F2970", VA = "0x1804F3B70", Slot = "1")]
|
|
protected override void Finalize()
|
|
{
|
|
}
|
|
|
|
/// <summary>Adds an event handler to listen to the <see cref="E:System.ComponentModel.MarshalByValueComponent.Disposed" /> event on the component.</summary>
|
|
// Token: 0x1400000E RID: 14
|
|
// (add) Token: 0x0600089B RID: 2203 RVA: 0x00002053 File Offset: 0x00000253
|
|
// (remove) Token: 0x0600089C RID: 2204 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x1400000E")]
|
|
public event EventHandler Disposed
|
|
{
|
|
[Token(Token = "0x600089B")]
|
|
[Address(RVA = "0x4F3DE0", Offset = "0x4F2BE0", VA = "0x1804F3DE0", Slot = "6")]
|
|
add
|
|
{
|
|
}
|
|
[Token(Token = "0x600089C")]
|
|
[Address(RVA = "0x4F3FB0", Offset = "0x4F2DB0", VA = "0x1804F3FB0", Slot = "7")]
|
|
remove
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the list of event handlers that are attached to this component.</summary>
|
|
/// <returns>An <see cref="T:System.ComponentModel.EventHandlerList" /> that provides the delegates for this component.</returns>
|
|
// Token: 0x170001A2 RID: 418
|
|
// (get) Token: 0x0600089D RID: 2205 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170001A2")]
|
|
protected EventHandlerList Events
|
|
{
|
|
[Token(Token = "0x600089D")]
|
|
[Address(RVA = "0x4F3F50", Offset = "0x4F2D50", VA = "0x1804F3F50")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the site of the component.</summary>
|
|
/// <returns>An object implementing the <see cref="T:System.ComponentModel.ISite" /> interface that represents the site of the component.</returns>
|
|
// Token: 0x170001A3 RID: 419
|
|
// (get) Token: 0x0600089E RID: 2206 RVA: 0x00002050 File Offset: 0x00000250
|
|
// (set) Token: 0x0600089F RID: 2207 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x170001A3")]
|
|
[Browsable(false)]
|
|
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
|
|
public virtual ISite Site
|
|
{
|
|
[Token(Token = "0x600089E")]
|
|
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "10")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
[Token(Token = "0x600089F")]
|
|
[Address(RVA = "0x3F7200", Offset = "0x3F6000", VA = "0x1803F7200", Slot = "11")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Releases all resources used by the <see cref="T:System.ComponentModel.MarshalByValueComponent" />.</summary>
|
|
// Token: 0x060008A0 RID: 2208 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60008A0")]
|
|
[Address(RVA = "0x4F3880", Offset = "0x4F2680", VA = "0x1804F3880", Slot = "8")]
|
|
public void Dispose()
|
|
{
|
|
}
|
|
|
|
/// <summary>Releases the unmanaged resources used by the <see cref="T:System.ComponentModel.MarshalByValueComponent" /> and optionally releases the managed resources.</summary>
|
|
/// <param name="disposing">
|
|
/// <see langword="true" /> to release both managed and unmanaged resources; <see langword="false" /> to release only unmanaged resources.</param>
|
|
// Token: 0x060008A1 RID: 2209 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60008A1")]
|
|
[Address(RVA = "0x4F38F0", Offset = "0x4F26F0", VA = "0x1804F38F0", Slot = "12")]
|
|
protected virtual void Dispose(bool disposing)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets the container for the component.</summary>
|
|
/// <returns>An object implementing the <see cref="T:System.ComponentModel.IContainer" /> interface that represents the component's container, or <see langword="null" /> if the component does not have a site.</returns>
|
|
// Token: 0x170001A4 RID: 420
|
|
// (get) Token: 0x060008A2 RID: 2210 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170001A4")]
|
|
[Browsable(false)]
|
|
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
|
|
public virtual IContainer Container
|
|
{
|
|
[Token(Token = "0x60008A2")]
|
|
[Address(RVA = "0x4F3EB0", Offset = "0x4F2CB0", VA = "0x1804F3EB0", Slot = "13")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the implementer of the <see cref="T:System.IServiceProvider" />.</summary>
|
|
/// <param name="service">A <see cref="T:System.Type" /> that represents the type of service you want.</param>
|
|
/// <returns>An <see cref="T:System.Object" /> that represents the implementer of the <see cref="T:System.IServiceProvider" />.</returns>
|
|
// Token: 0x060008A3 RID: 2211 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60008A3")]
|
|
[Address(RVA = "0x4F3BF0", Offset = "0x4F29F0", VA = "0x1804F3BF0", Slot = "14")]
|
|
public virtual object GetService(Type service)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Gets a value indicating whether the component is currently in design mode.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the component is in design mode; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x170001A5 RID: 421
|
|
// (get) Token: 0x060008A4 RID: 2212 RVA: 0x00005388 File Offset: 0x00003588
|
|
[Token(Token = "0x170001A5")]
|
|
[Browsable(false)]
|
|
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
|
|
public virtual bool DesignMode
|
|
{
|
|
[Token(Token = "0x60008A4")]
|
|
[Address(RVA = "0x4F3F00", Offset = "0x4F2D00", VA = "0x1804F3F00", Slot = "15")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
/// <summary>Returns a <see cref="T:System.String" /> containing the name of the <see cref="T:System.ComponentModel.Component" />, if any. This method should not be overridden.</summary>
|
|
/// <returns>A <see cref="T:System.String" /> containing the name of the <see cref="T:System.ComponentModel.Component" />, if any.
|
|
/// <see langword="null" /> if the <see cref="T:System.ComponentModel.Component" /> is unnamed.</returns>
|
|
// Token: 0x060008A5 RID: 2213 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60008A5")]
|
|
[Address(RVA = "0x4F3CB0", Offset = "0x4F2AB0", VA = "0x1804F3CB0", Slot = "3")]
|
|
public override string ToString()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x04000533 RID: 1331
|
|
[Token(Token = "0x4000533")]
|
|
private static readonly object EventDisposed;
|
|
|
|
// Token: 0x04000534 RID: 1332
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4000534")]
|
|
private ISite site;
|
|
|
|
// Token: 0x04000535 RID: 1333
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4000535")]
|
|
private EventHandlerList events;
|
|
}
|
|
}
|