44 lines
1.6 KiB
C#
44 lines
1.6 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.ComponentModel
|
|
{
|
|
/// <summary>Creates an instance of a particular type of property from a drop-down box within the <see cref="T:System.Windows.Forms.PropertyGrid" />.</summary>
|
|
// Token: 0x0200014B RID: 331
|
|
[Token(Token = "0x200014B")]
|
|
public abstract class InstanceCreationEditor
|
|
{
|
|
/// <summary>Gets the specified text.</summary>
|
|
/// <returns>The specified text.</returns>
|
|
// Token: 0x17000182 RID: 386
|
|
// (get) Token: 0x06000800 RID: 2048 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000182")]
|
|
public virtual string Text
|
|
{
|
|
[Token(Token = "0x6000800")]
|
|
[Address(RVA = "0x4EE550", Offset = "0x4ED350", VA = "0x1804EE550", Slot = "4")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>When overridden in a derived class, returns an instance of the specified type.</summary>
|
|
/// <param name="context">The context information.</param>
|
|
/// <param name="instanceType">The specified type.</param>
|
|
/// <returns>An instance of the specified type or <see langword="null" />.</returns>
|
|
// Token: 0x06000801 RID: 2049
|
|
[Token(Token = "0x6000801")]
|
|
[Address(Slot = "5")]
|
|
public abstract object CreateInstance(ITypeDescriptorContext context, Type instanceType);
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.InstanceCreationEditor" /> class.</summary>
|
|
// Token: 0x06000802 RID: 2050 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000802")]
|
|
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
|
protected InstanceCreationEditor()
|
|
{
|
|
}
|
|
}
|
|
}
|