Class PrimitiveConverter
Base class for all primitive converters
Inheritance
PrimitiveConverter
Assembly: Xareus.Scenarios.dll
Syntax
public class PrimitiveConverter : TypeConverter
Constructors
PrimitiveConverter()
Declaration
protected PrimitiveConverter()
Fields
primitiveConverter
the converter of the implementation (the primitive type)
Declaration
protected TypeConverter primitiveConverter
Field Value
Methods
CanConvertFrom(ITypeDescriptorContext, Type)
Declaration
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
Parameters
Returns
Overrides
CanConvertTo(ITypeDescriptorContext, Type)
Declaration
public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
Parameters
Returns
Overrides
ConvertFrom(ITypeDescriptorContext, CultureInfo, object)
Convert from Parameter to primitive type
Declaration
public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Parameters
Returns
Overrides
ConvertTo(ITypeDescriptorContext, CultureInfo, object, Type)
Convert from primitive type to Parameter
Declaration
public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Parameters
Returns
Overrides