Files
27Aug2021-Cpp2IL-Dump/System/ComponentModel/ComponentConverter.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

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: 0x020000FB RID: 251
[Token(Token = "0x20000FB")]
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: 0x06000626 RID: 1574 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000626")]
[Address(RVA = "0xB94E30", Offset = "0xB93E30", VA = "0x180B94E30")]
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: 0x06000627 RID: 1575 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000627")]
[Address(RVA = "0xB94DC0", Offset = "0xB93DC0", VA = "0x180B94DC0", 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: 0x06000628 RID: 1576 RVA: 0x000046F8 File Offset: 0x000028F8
[Token(Token = "0x6000628")]
[Address(RVA = "0x4246A0", Offset = "0x4236A0", VA = "0x1804246A0", Slot = "11")]
public override bool GetPropertiesSupported(ITypeDescriptorContext context)
{
return default(bool);
}
}
}