using System; using System.Collections; using System.Globalization; using Cpp2IlInjected; namespace System.ComponentModel { /// Provides a type converter to convert objects to and from various other representations. // Token: 0x02000123 RID: 291 [Token(Token = "0x2000123")] public class EnumConverter : TypeConverter { /// Initializes a new instance of the class for the given type. /// A that represents the type of enumeration to associate with this enumeration converter. // Token: 0x06000722 RID: 1826 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000722")] [Address(RVA = "0x4EAEC0", Offset = "0x4E9CC0", VA = "0x1804EAEC0")] public EnumConverter(Type type) { } /// Specifies the type of the enumerator this converter is associated with. /// The type of the enumerator this converter is associated with. // Token: 0x17000146 RID: 326 // (get) Token: 0x06000723 RID: 1827 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x17000146")] protected Type EnumType { [Token(Token = "0x6000723")] [Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")] get { return null; } } /// Gets or sets a that specifies the possible values for the enumeration. /// A that specifies the possible values for the enumeration. // Token: 0x17000147 RID: 327 // (get) Token: 0x06000724 RID: 1828 RVA: 0x00002050 File Offset: 0x00000250 // (set) Token: 0x06000725 RID: 1829 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x17000147")] protected TypeConverter.StandardValuesCollection Values { [Token(Token = "0x6000724")] [Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")] get { return null; } [Token(Token = "0x6000725")] [Address(RVA = "0x3F7200", Offset = "0x3F6000", VA = "0x1803F7200")] set { } } /// Gets a value indicating whether this converter can convert an object in the given source type to an enumeration object using the specified context. /// An that provides a format context. /// A that represents the type you wish to convert from. /// /// if this converter can perform the conversion; otherwise, . // Token: 0x06000726 RID: 1830 RVA: 0x00004D40 File Offset: 0x00002F40 [Token(Token = "0x6000726")] [Address(RVA = "0x4E9940", Offset = "0x4E8740", VA = "0x1804E9940", Slot = "4")] public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) { return default(bool); } /// Gets a value indicating whether this converter can convert an object to the given destination type using the context. /// An that provides a format context. /// A that represents the type you wish to convert to. /// /// if this converter can perform the conversion; otherwise, . // Token: 0x06000727 RID: 1831 RVA: 0x00004D58 File Offset: 0x00002F58 [Token(Token = "0x6000727")] [Address(RVA = "0x4E9A30", Offset = "0x4E8830", VA = "0x1804E9A30", Slot = "5")] public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) { return default(bool); } /// Gets an that can be used to sort the values of the enumeration. /// An for sorting the enumeration values. // Token: 0x17000148 RID: 328 // (get) Token: 0x06000728 RID: 1832 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x17000148")] protected virtual IComparer Comparer { [Token(Token = "0x6000728")] [Address(RVA = "0x4EAF30", Offset = "0x4E9D30", VA = "0x1804EAF30", Slot = "16")] get { return null; } } /// Converts the specified value object to an enumeration object. /// An that provides a format context. /// An optional . If not supplied, the current culture is assumed. /// The to convert. /// An that represents the converted . /// /// is not a valid value for the target type. /// The conversion cannot be performed. // Token: 0x06000729 RID: 1833 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000729")] [Address(RVA = "0x4E9B20", Offset = "0x4E8920", VA = "0x1804E9B20", Slot = "6")] public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { return null; } /// Converts the given value object to the specified destination type. /// An that provides a format context. /// An optional . If not supplied, the current culture is assumed. /// The to convert. /// The to convert the value to. /// An that represents the converted . /// /// is . /// /// is not a valid value for the enumeration. /// The conversion cannot be performed. // Token: 0x0600072A RID: 1834 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600072A")] [Address(RVA = "0x4E9F40", Offset = "0x4E8D40", VA = "0x1804E9F40", Slot = "7")] public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) { return null; } /// Gets a collection of standard values for the data type this validator is designed for. /// An that provides a format context. /// A that holds a standard set of valid values, or if the data type does not support a standard set of values. // Token: 0x0600072B RID: 1835 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600072B")] [Address(RVA = "0x4EAAA0", Offset = "0x4E98A0", VA = "0x1804EAAA0", Slot = "12")] public override TypeConverter.StandardValuesCollection GetStandardValues(ITypeDescriptorContext context) { return null; } /// Gets a value indicating whether the list of standard values returned from is an exclusive list using the specified context. /// An that provides a format context. /// /// if the returned from is an exhaustive list of possible values; if other values are possible. // Token: 0x0600072C RID: 1836 RVA: 0x00004D70 File Offset: 0x00002F70 [Token(Token = "0x600072C")] [Address(RVA = "0x4EAA10", Offset = "0x4E9810", VA = "0x1804EAA10", Slot = "13")] public override bool GetStandardValuesExclusive(ITypeDescriptorContext context) { return default(bool); } /// Gets a value indicating whether this object supports a standard set of values that can be picked from a list using the specified context. /// An that provides a format context. /// /// because should be called to find a common set of values the object supports. This method never returns . // Token: 0x0600072D RID: 1837 RVA: 0x00004D88 File Offset: 0x00002F88 [Token(Token = "0x600072D")] [Address(RVA = "0x460D40", Offset = "0x45FB40", VA = "0x180460D40", Slot = "14")] public override bool GetStandardValuesSupported(ITypeDescriptorContext context) { return default(bool); } /// Gets a value indicating whether the given object value is valid for this type. /// An that provides a format context. /// The to test. /// /// if the specified value is valid for this object; otherwise, . // Token: 0x0600072E RID: 1838 RVA: 0x00004DA0 File Offset: 0x00002FA0 [Token(Token = "0x600072E")] [Address(RVA = "0x4EAE50", Offset = "0x4E9C50", VA = "0x1804EAE50", Slot = "15")] public override bool IsValid(ITypeDescriptorContext context, object value) { return default(bool); } // Token: 0x040004DE RID: 1246 [FieldOffset(Offset = "0x10")] [Token(Token = "0x40004DE")] private TypeConverter.StandardValuesCollection values; // Token: 0x040004DF RID: 1247 [FieldOffset(Offset = "0x18")] [Token(Token = "0x40004DF")] private Type type; } }