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: 0x0200011F RID: 287
[Token(Token = "0x200011F")]
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: 0x0600070C RID: 1804 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600070C")]
[Address(RVA = "0xC552D0", Offset = "0xC542D0", VA = "0x180C552D0")]
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: 0x17000142 RID: 322
// (get) Token: 0x0600070D RID: 1805 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000142")]
protected Type EnumType
{
[Token(Token = "0x600070D")]
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")]
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: 0x17000143 RID: 323
// (get) Token: 0x0600070E RID: 1806 RVA: 0x00002050 File Offset: 0x00000250
// (set) Token: 0x0600070F RID: 1807 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x17000143")]
protected TypeConverter.StandardValuesCollection Values
{
[Token(Token = "0x600070E")]
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
get
{
return null;
}
[Token(Token = "0x600070F")]
[Address(RVA = "0x415800", Offset = "0x414800", VA = "0x180415800")]
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: 0x06000710 RID: 1808 RVA: 0x00004D28 File Offset: 0x00002F28
[Token(Token = "0x6000710")]
[Address(RVA = "0xC53D50", Offset = "0xC52D50", VA = "0x180C53D50", 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: 0x06000711 RID: 1809 RVA: 0x00004D40 File Offset: 0x00002F40
[Token(Token = "0x6000711")]
[Address(RVA = "0xC53E40", Offset = "0xC52E40", VA = "0x180C53E40", 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: 0x17000144 RID: 324
// (get) Token: 0x06000712 RID: 1810 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000144")]
protected virtual IComparer Comparer
{
[Token(Token = "0x6000712")]
[Address(RVA = "0xC55340", Offset = "0xC54340", VA = "0x180C55340", 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: 0x06000713 RID: 1811 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000713")]
[Address(RVA = "0xC53F30", Offset = "0xC52F30", VA = "0x180C53F30", 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: 0x06000714 RID: 1812 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000714")]
[Address(RVA = "0xC54350", Offset = "0xC53350", VA = "0x180C54350", 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: 0x06000715 RID: 1813 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000715")]
[Address(RVA = "0xC54EB0", Offset = "0xC53EB0", VA = "0x180C54EB0", 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: 0x06000716 RID: 1814 RVA: 0x00004D58 File Offset: 0x00002F58
[Token(Token = "0x6000716")]
[Address(RVA = "0xC54E20", Offset = "0xC53E20", VA = "0x180C54E20", 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: 0x06000717 RID: 1815 RVA: 0x00004D70 File Offset: 0x00002F70
[Token(Token = "0x6000717")]
[Address(RVA = "0x4246A0", Offset = "0x4236A0", VA = "0x1804246A0", 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: 0x06000718 RID: 1816 RVA: 0x00004D88 File Offset: 0x00002F88
[Token(Token = "0x6000718")]
[Address(RVA = "0xC55260", Offset = "0xC54260", VA = "0x180C55260", Slot = "15")]
public override bool IsValid(ITypeDescriptorContext context, object value)
{
return default(bool);
}
// Token: 0x040004D1 RID: 1233
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x40004D1")]
private TypeConverter.StandardValuesCollection values;
// Token: 0x040004D2 RID: 1234
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x40004D2")]
private Type type;
}
}