Files
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

45 lines
2.5 KiB
C#

using System;
using Cpp2IlInjected;
namespace System.ComponentModel
{
/// <summary>Provides a type converter to convert expandable objects to and from various other representations.</summary>
// Token: 0x02000128 RID: 296
[Token(Token = "0x2000128")]
public class ExpandableObjectConverter : TypeConverter
{
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.ExpandableObjectConverter" /> class.</summary>
// Token: 0x06000769 RID: 1897 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000769")]
[Address(RVA = "0x4ECDD0", Offset = "0x4EBBD0", VA = "0x1804ECDD0")]
public ExpandableObjectConverter()
{
}
/// <summary>Gets a collection of properties for the type of object 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 object 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: 0x0600076A RID: 1898 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600076A")]
[Address(RVA = "0x4ECD60", Offset = "0x4EBB60", VA = "0x1804ECD60", 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: 0x0600076B RID: 1899 RVA: 0x00004EC0 File Offset: 0x000030C0
[Token(Token = "0x600076B")]
[Address(RVA = "0x460D40", Offset = "0x45FB40", VA = "0x180460D40", Slot = "11")]
public override bool GetPropertiesSupported(ITypeDescriptorContext context)
{
return default(bool);
}
}
}