Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.ComponentModel.BaseNumberConverter Class Referenceabstract

Public Member Functions

override bool CanConvertFrom (ITypeDescriptorContext? context, Type sourceType)
 
override? object ConvertFrom (ITypeDescriptorContext? context, CultureInfo? culture, object value)
 
override? object ConvertTo (ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
 
override bool CanConvertTo (ITypeDescriptorContext? context, Type? destinationType)
 
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 ()
 
virtual ? StandardValuesCollection GetStandardValues (ITypeDescriptorContext? context)
 
bool GetStandardValuesExclusive ()
 
virtual bool GetStandardValuesExclusive (ITypeDescriptorContext? context)
 
bool GetStandardValuesSupported ()
 
virtual bool GetStandardValuesSupported (ITypeDescriptorContext? context)
 
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)
 

Package Functions

 BaseNumberConverter ()
 
object FromString (string value, int radix)
 
object FromString (string value, NumberFormatInfo formatInfo)
 
string ToString (object value, NumberFormatInfo formatInfo)
 

Properties

virtual bool AllowHex [get]
 
Type TargetType [get]
 

Detailed Description

Definition at line 5 of file BaseNumberConverter.cs.


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