Class CollectionConverter
Converter for collections and dictionaries
Inheritance
CollectionConverter
Assembly: Xareus.Scenarios.dll
Syntax
[TypeConverterFor(typeof(ICollection))]
[TypeConverterFor(typeof(ICollection<>))]
public class CollectionConverter : CollectionConverter
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 collection
Declaration
public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Parameters
Returns
Overrides
ConvertTo(ITypeDescriptorContext, CultureInfo, object, Type)
Convert from collection to parameter
Declaration
public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Parameters
Returns
Overrides