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: 0x02000147 RID: 327
|
|
[Token(Token = "0x2000147")]
|
|
public abstract class InstanceCreationEditor
|
|
{
|
|
/// <summary>Gets the specified text.</summary>
|
|
/// <returns>The specified text.</returns>
|
|
// Token: 0x1700017E RID: 382
|
|
// (get) Token: 0x060007EA RID: 2026 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x1700017E")]
|
|
public virtual string Text
|
|
{
|
|
[Token(Token = "0x60007EA")]
|
|
[Address(RVA = "0xC58950", Offset = "0xC57950", VA = "0x180C58950", 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: 0x060007EB RID: 2027
|
|
[Token(Token = "0x60007EB")]
|
|
[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: 0x060007EC RID: 2028 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60007EC")]
|
|
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
|
protected InstanceCreationEditor()
|
|
{
|
|
}
|
|
}
|
|
}
|