Method | Description | |
---|---|---|
CanConvertFrom ( ITypeDescriptorContext context, |
Returns whether this converter can convert an object of one System.Type to the System.Type of this converter. Currently only supports conversion from a System.String instance. |
|
CanConvertTo ( ITypeDescriptorContext context, |
Returns whether this converter can convert the object to the specified System.Type.
|
|
ConvertFrom ( ITypeDescriptorContext context, |
Converts the given value to the type of this converter.
|
|
ConvertTo ( ITypeDescriptorContext context, |
Converts the given value object to the specified type, using the specified context and culture information.
|
|
RuntimeTypeConverter ( ) : System |
Creates a new instance of the Spring.Core.TypeConversion.RuntimeTypeConverter class.
|
public CanConvertFrom ( ITypeDescriptorContext context, |
||
context | ITypeDescriptorContext |
/// A |
sourceType |
/// A |
|
return | bool |
public CanConvertTo ( ITypeDescriptorContext context, |
||
context | ITypeDescriptorContext |
/// A |
destinationType |
/// A |
|
return | bool |
public ConvertFrom ( ITypeDescriptorContext context, |
||
context | ITypeDescriptorContext |
/// A |
culture |
/// The |
|
value | object | /// The value that is to be converted. /// |
return | object |
public ConvertTo ( ITypeDescriptorContext context, |
||
context | ITypeDescriptorContext |
/// A |
culture |
/// The |
|
value | object | /// The value that is to be converted. /// |
destinationType |
/// The |
|
return | object |