45 lines
2.5 KiB
C#
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: 0x02000124 RID: 292
|
|
[Token(Token = "0x2000124")]
|
|
public class ExpandableObjectConverter : TypeConverter
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.ExpandableObjectConverter" /> class.</summary>
|
|
// Token: 0x06000753 RID: 1875 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000753")]
|
|
[Address(RVA = "0xC571D0", Offset = "0xC561D0", VA = "0x180C571D0")]
|
|
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: 0x06000754 RID: 1876 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000754")]
|
|
[Address(RVA = "0xC57160", Offset = "0xC56160", VA = "0x180C57160", 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: 0x06000755 RID: 1877 RVA: 0x00004EA8 File Offset: 0x000030A8
|
|
[Token(Token = "0x6000755")]
|
|
[Address(RVA = "0x4246A0", Offset = "0x4236A0", VA = "0x1804246A0", Slot = "11")]
|
|
public override bool GetPropertiesSupported(ITypeDescriptorContext context)
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
}
|