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

Public Member Functions

 ComponentConverter (Type type)
 
override PropertyDescriptorCollection GetProperties (ITypeDescriptorContext? context, object value, Attribute[]? attributes)
 
override bool GetPropertiesSupported (ITypeDescriptorContext? context)
 
override bool CanConvertFrom (ITypeDescriptorContext? context, Type sourceType)
 
bool CanConvertFrom (Type sourceType)
 
override? object ConvertFrom (ITypeDescriptorContext? context, CultureInfo? culture, object value)
 
object? ConvertFrom (object value)
 
override? object ConvertTo (ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
 
object? ConvertTo (object? value, Type destinationType)
 
override StandardValuesCollection GetStandardValues (ITypeDescriptorContext? context)
 
ICollectionGetStandardValues ()
 
override bool GetStandardValuesExclusive (ITypeDescriptorContext? context)
 
bool GetStandardValuesExclusive ()
 
override bool GetStandardValuesSupported (ITypeDescriptorContext? context)
 
bool GetStandardValuesSupported ()
 
bool CanConvertTo (Type destinationType)
 
virtual bool CanConvertTo (ITypeDescriptorContext? context, Type? destinationType)
 
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)
 
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)
 
bool GetPropertiesSupported ()
 
bool IsValid (object value)
 
virtual bool IsValid (ITypeDescriptorContext? context, object value)
 

Protected Member Functions

virtual bool IsValueAllowed (ITypeDescriptorContext context, object value)
 
Exception GetConvertFromException (object? value)
 
Exception GetConvertToException (object? value, Type destinationType)
 
PropertyDescriptorCollection SortProperties (PropertyDescriptorCollection props, string[] names)
 

Private Attributes

readonly Type _type
 

Static Private Attributes

static readonly string s_none = System.SR.toStringNone
 

Detailed Description

Definition at line 5 of file ComponentConverter.cs.


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