Class FixedContextVariableConverter<FixedContextVariableType>
Inheritance
TypeConverter
FixedContextVariableConverter<FixedContextVariableType>
Assembly: Xareus.Scenarios.dll
Syntax
[TypeConverterFor(typeof(AFixedContextVariable))]
public class FixedContextVariableConverter<FixedContextVariableType> : VariablePathConverter where FixedContextVariableType : AFixedContextVariable, new()
Type Parameters
Name |
Description |
FixedContextVariableType |
|
Methods
ConvertFrom(ITypeDescriptorContext, CultureInfo, object)
Convert from string or Parameter to VariablePath
Declaration
public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Parameters
Type |
Name |
Description |
ITypeDescriptorContext |
context |
|
CultureInfo |
culture |
|
object |
value |
|
Returns
Overrides
ConvertTo(ITypeDescriptorContext, CultureInfo, object, Type)
Convert from VariablePath (or any subclass) to string or Parameter
Declaration
public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Parameters
Type |
Name |
Description |
ITypeDescriptorContext |
context |
|
CultureInfo |
culture |
|
object |
value |
|
Type |
destinationType |
|
Returns
Overrides