42 lines
1.7 KiB
C#
42 lines
1.7 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.ComponentModel
|
|
{
|
|
/// <summary>Provides the base class for a custom component editor.</summary>
|
|
// Token: 0x020000E7 RID: 231
|
|
[Token(Token = "0x20000E7")]
|
|
public abstract class ComponentEditor
|
|
{
|
|
/// <summary>Edits the component and returns a value indicating whether the component was modified.</summary>
|
|
/// <param name="component">The component to be edited.</param>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the component was modified; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x06000582 RID: 1410 RVA: 0x00004290 File Offset: 0x00002490
|
|
[Token(Token = "0x6000582")]
|
|
[Address(RVA = "0xB94EA0", Offset = "0xB93EA0", VA = "0x180B94EA0")]
|
|
public bool EditComponent(object component)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
/// <summary>Edits the component and returns a value indicating whether the component was modified based upon a given context.</summary>
|
|
/// <param name="context">An optional context object that can be used to obtain further information about the edit.</param>
|
|
/// <param name="component">The component to be edited.</param>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the component was modified; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x06000583 RID: 1411
|
|
[Token(Token = "0x6000583")]
|
|
[Address(Slot = "4")]
|
|
public abstract bool EditComponent(ITypeDescriptorContext context, object component);
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.ComponentEditor" /> class.</summary>
|
|
// Token: 0x06000584 RID: 1412 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000584")]
|
|
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
|
protected ComponentEditor()
|
|
{
|
|
}
|
|
}
|
|
}
|