C# Class IronRuby.Runtime.CustomTypeDescHelpers.TypeConv

Inheritance: System.ComponentModel.TypeConverter
Mostrar archivo Open project: jschementi/iron

Public Methods

Method Description
CanConvertFrom ( ITypeDescriptorContext context, Type sourceType ) : bool
CanConvertTo ( ITypeDescriptorContext context, Type destinationType ) : bool
ConvertFrom ( ITypeDescriptorContext context, System culture, object value ) : object
ConvertTo ( ITypeDescriptorContext context, System culture, object value, Type destinationType ) : object
GetCreateInstanceSupported ( ITypeDescriptorContext context ) : bool
GetPropertiesSupported ( ITypeDescriptorContext context ) : bool
GetStandardValuesSupported ( ITypeDescriptorContext context ) : bool
IsValid ( ITypeDescriptorContext context, object value ) : bool
TypeConv ( object self ) : System.Linq.Expressions

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, System culture, object value ) : object
context ITypeDescriptorContext
culture System
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

GetCreateInstanceSupported() public method

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

GetPropertiesSupported() public method

public GetPropertiesSupported ( 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

TypeConv() public method

public TypeConv ( object self ) : System.Linq.Expressions
self object
return System.Linq.Expressions