Class PlaceConverter
Inheritance
PlaceConverter
Assembly: Xareus.Scenarios.dll
Syntax
[TypeConverterFor(typeof(Place))]
public class PlaceConverter : TypeConverter
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 state to Place
Declaration
public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Parameters
Returns
Overrides
ConvertStateToPlace(State)
Perform the conversion from a State to a Place.
Declaration
public static Place ConvertStateToPlace(State state)
Parameters
Type |
Name |
Description |
State |
state |
|
Returns
See Also
ConvertTo(ITypeDescriptorContext, CultureInfo, object, Type)
Calls the other sequence type converter to avoid code duplication
Declaration
public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Parameters
Returns
Overrides