46 lines
2.6 KiB
C#
46 lines
2.6 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.ComponentModel
|
|
{
|
|
/// <summary>Provides a type converter to convert components to and from various other representations.</summary>
|
|
// Token: 0x020000FF RID: 255
|
|
[Token(Token = "0x20000FF")]
|
|
public class ComponentConverter : ReferenceConverter
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.ComponentConverter" /> class.</summary>
|
|
/// <param name="type">A <see cref="T:System.Type" /> that represents the type to associate with this component converter.</param>
|
|
// Token: 0x0600063C RID: 1596 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600063C")]
|
|
[Address(RVA = "0x498110", Offset = "0x496F10", VA = "0x180498110")]
|
|
public ComponentConverter(Type type)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets a collection of properties for the type of component specified by the value parameter.</summary>
|
|
/// <param name="context">An <see cref="T:System.ComponentModel.ITypeDescriptorContext" /> that provides a format context.</param>
|
|
/// <param name="value">An <see cref="T:System.Object" /> that specifies the type of component to get the properties for.</param>
|
|
/// <param name="attributes">An array of type <see cref="T:System.Attribute" /> that will be used as a filter.</param>
|
|
/// <returns>A <see cref="T:System.ComponentModel.PropertyDescriptorCollection" /> with the properties that are exposed for the component, or <see langword="null" /> if there are no properties.</returns>
|
|
// Token: 0x0600063D RID: 1597 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600063D")]
|
|
[Address(RVA = "0x4980A0", Offset = "0x496EA0", VA = "0x1804980A0", Slot = "10")]
|
|
public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object value, Attribute[] attributes)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Gets a value indicating whether this object supports properties using the specified context.</summary>
|
|
/// <param name="context">An <see cref="T:System.ComponentModel.ITypeDescriptorContext" /> that provides a format context.</param>
|
|
/// <returns>
|
|
/// <see langword="true" /> because <see cref="M:System.ComponentModel.TypeConverter.GetProperties(System.Object)" /> should be called to find the properties of this object. This method never returns <see langword="false" />.</returns>
|
|
// Token: 0x0600063E RID: 1598 RVA: 0x00004710 File Offset: 0x00002910
|
|
[Token(Token = "0x600063E")]
|
|
[Address(RVA = "0x460D40", Offset = "0x45FB40", VA = "0x180460D40", Slot = "11")]
|
|
public override bool GetPropertiesSupported(ITypeDescriptorContext context)
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
}
|