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

Public Member Functions

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

Protected Member Functions

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

Properties

Type NullableType [get]
 
Type UnderlyingType [get]
 
TypeConverter UnderlyingTypeConverter [get]
 

Static Private Attributes

static readonly ConstructorInfo s_nullableConstructor = typeof(Nullable<>).GetConstructor(typeof(Nullable<>).GetGenericArguments())
 

Detailed Description

Definition at line 9 of file NullableConverter.cs.


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