Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.ComponentModel.EnumConverter Class Reference

Public Member Functions

 EnumConverter ([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicParameterlessConstructor|DynamicallyAccessedMemberTypes.PublicFields)] Type type)
 
override bool CanConvertFrom (ITypeDescriptorContext? context, Type sourceType)
 
override bool CanConvertTo (ITypeDescriptorContext? context, Type? destinationType)
 
override? object ConvertFrom (ITypeDescriptorContext? context, CultureInfo? culture, object value)
 
override? object ConvertTo (ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
 
override StandardValuesCollection GetStandardValues (ITypeDescriptorContext? context)
 
override bool GetStandardValuesExclusive (ITypeDescriptorContext? context)
 
override bool GetStandardValuesSupported (ITypeDescriptorContext? context)
 
override bool IsValid (ITypeDescriptorContext? context, object? value)
 
bool CanConvertFrom (Type sourceType)
 
bool CanConvertTo (Type destinationType)
 
object? ConvertFrom (object value)
 
object? ConvertFromInvariantString (string text)
 
object? ConvertFromInvariantString (ITypeDescriptorContext? context, string text)
 
object? ConvertFromString (string text)
 
object? ConvertFromString (ITypeDescriptorContext? context, string text)
 
object? ConvertFromString (ITypeDescriptorContext? context, CultureInfo? culture, string text)
 
object? ConvertTo (object? value, Type destinationType)
 
stringConvertToInvariantString (object? value)
 
stringConvertToInvariantString (ITypeDescriptorContext? context, object? value)
 
stringConvertToString (object? value)
 
stringConvertToString (ITypeDescriptorContext? context, object? value)
 
stringConvertToString (ITypeDescriptorContext? context, CultureInfo? culture, object? value)
 
object? CreateInstance (IDictionary propertyValues)
 
virtual ? object CreateInstance (ITypeDescriptorContext? context, IDictionary propertyValues)
 
bool GetCreateInstanceSupported ()
 
virtual bool GetCreateInstanceSupported (ITypeDescriptorContext? context)
 
PropertyDescriptorCollectionGetProperties (object value)
 
PropertyDescriptorCollectionGetProperties (ITypeDescriptorContext? context, object value)
 
virtual ? PropertyDescriptorCollection GetProperties (ITypeDescriptorContext? context, object value, Attribute[]? attributes)
 
bool GetPropertiesSupported ()
 
virtual bool GetPropertiesSupported (ITypeDescriptorContext? context)
 
ICollectionGetStandardValues ()
 
bool GetStandardValuesExclusive ()
 
bool GetStandardValuesSupported ()
 
bool IsValid (object value)
 
virtual bool IsValid (ITypeDescriptorContext? context, object value)
 

Protected Member Functions

Exception GetConvertFromException (object? value)
 
Exception GetConvertToException (object? value, Type destinationType)
 
PropertyDescriptorCollection SortProperties (PropertyDescriptorCollection props, string[] names)
 

Properties

Type EnumType [get]
 
StandardValuesCollectionValues [get, set]
 
virtual IComparer Comparer [get]
 

Static Private Member Functions

static long GetEnumValue (bool isUnderlyingTypeUInt64, Enum enumVal, CultureInfo culture)
 

Detailed Description

Definition at line 10 of file EnumConverter.cs.


The documentation for this class was generated from the following file: