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

Classes

struct  ReferenceComparer
 

Public Member Functions

 ReferenceConverter (Type type)
 
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 StandardValuesCollection GetStandardValues (ITypeDescriptorContext? context)
 
override bool GetStandardValuesExclusive (ITypeDescriptorContext? context)
 
override bool GetStandardValuesSupported (ITypeDescriptorContext? context)
 
bool CanConvertFrom (Type sourceType)
 
bool CanConvertTo (Type destinationType)
 
virtual bool CanConvertTo (ITypeDescriptorContext? context, 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

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 8 of file ReferenceConverter.cs.


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