C# Class System.ComponentModel.NullableConverter

Inheritance: TypeConverter
Datei anzeigen Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Public Methods

Method Description
CanConvertFrom ( ITypeDescriptorContext context, Type sourceType ) : bool
CanConvertTo ( ITypeDescriptorContext context, Type destinationType ) : bool
ConvertFrom ( ITypeDescriptorContext context, CultureInfo culture, object value ) : object
ConvertTo ( ITypeDescriptorContext context, System culture, object value, Type destinationType ) : object
CreateInstance ( ITypeDescriptorContext context, IDictionary propertyValues ) : object
GetCreateInstanceSupported ( ITypeDescriptorContext context ) : bool
GetProperties ( ITypeDescriptorContext context, object value, Attribute attributes ) : PropertyDescriptorCollection
GetPropertiesSupported ( ITypeDescriptorContext context ) : bool
GetStandardValues ( ITypeDescriptorContext context ) : StandardValuesCollection
GetStandardValuesExclusive ( ITypeDescriptorContext context ) : bool
GetStandardValuesSupported ( ITypeDescriptorContext context ) : bool
IsValid ( ITypeDescriptorContext context, object value ) : bool
NullableConverter ( Type type ) : System.Collections

Method Details

CanConvertFrom() public method

public CanConvertFrom ( ITypeDescriptorContext context, Type sourceType ) : bool
context ITypeDescriptorContext
sourceType System.Type
return bool

CanConvertTo() public method

public CanConvertTo ( ITypeDescriptorContext context, Type destinationType ) : bool
context ITypeDescriptorContext
destinationType System.Type
return bool

ConvertFrom() public method

public ConvertFrom ( ITypeDescriptorContext context, CultureInfo culture, object value ) : object
context ITypeDescriptorContext
culture System.Globalization.CultureInfo
value object
return object

ConvertTo() public method

public ConvertTo ( ITypeDescriptorContext context, System culture, object value, Type destinationType ) : object
context ITypeDescriptorContext
culture System
value object
destinationType System.Type
return object

CreateInstance() public method

public CreateInstance ( ITypeDescriptorContext context, IDictionary propertyValues ) : object
context ITypeDescriptorContext
propertyValues IDictionary
return object

GetCreateInstanceSupported() public method

public GetCreateInstanceSupported ( ITypeDescriptorContext context ) : bool
context ITypeDescriptorContext
return bool

GetProperties() public method

public GetProperties ( ITypeDescriptorContext context, object value, Attribute attributes ) : PropertyDescriptorCollection
context ITypeDescriptorContext
value object
attributes System.Attribute
return PropertyDescriptorCollection

GetPropertiesSupported() public method

public GetPropertiesSupported ( ITypeDescriptorContext context ) : bool
context ITypeDescriptorContext
return bool

GetStandardValues() public method

public GetStandardValues ( ITypeDescriptorContext context ) : StandardValuesCollection
context ITypeDescriptorContext
return StandardValuesCollection

GetStandardValuesExclusive() public method

public GetStandardValuesExclusive ( ITypeDescriptorContext context ) : bool
context ITypeDescriptorContext
return bool

GetStandardValuesSupported() public method

public GetStandardValuesSupported ( ITypeDescriptorContext context ) : bool
context ITypeDescriptorContext
return bool

IsValid() public method

public IsValid ( ITypeDescriptorContext context, object value ) : bool
context ITypeDescriptorContext
value object
return bool

NullableConverter() public method

public NullableConverter ( Type type ) : System.Collections
type System.Type
return System.Collections