Chronos Plugins 5.9.0
This documentation covers the plugin interfaces definitions and an example implementation.
|
Just like the default converter, but always use the invariant culture and wraps/unwraps the "MyDate". More...
Public Member Functions | |
override object | ConvertTo (ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) |
override object | ConvertFrom (ITypeDescriptorContext context, CultureInfo culture, object value) |
override bool | CanConvertFrom (ITypeDescriptorContext context, Type sourceType) |
override bool | CanConvertTo (ITypeDescriptorContext context, Type destinationType) |
Private Attributes | |
readonly TypeConverter | mConv = TypeDescriptor.GetConverter(typeof(DateTime)) |
Just like the default converter, but always use the invariant culture and wraps/unwraps the "MyDate".
Definition at line 79 of file DateColumn.cs.
override bool MockPlugin.SampleListColumns.MyDateConverter.CanConvertFrom | ( | ITypeDescriptorContext | context, |
Type | sourceType ) |
Definition at line 102 of file DateColumn.cs.
References MockPlugin.SampleListColumns.MyDateConverter.mConv.
override bool MockPlugin.SampleListColumns.MyDateConverter.CanConvertTo | ( | ITypeDescriptorContext | context, |
Type | destinationType ) |
Definition at line 107 of file DateColumn.cs.
References MockPlugin.SampleListColumns.MyDateConverter.mConv.
override object MockPlugin.SampleListColumns.MyDateConverter.ConvertFrom | ( | ITypeDescriptorContext | context, |
CultureInfo | culture, | ||
object | value ) |
Definition at line 91 of file DateColumn.cs.
References MockPlugin.SampleListColumns.MyDateConverter.mConv.
override object MockPlugin.SampleListColumns.MyDateConverter.ConvertTo | ( | ITypeDescriptorContext | context, |
CultureInfo | culture, | ||
object | value, | ||
Type | destinationType ) |
Definition at line 82 of file DateColumn.cs.
References MockPlugin.SampleListColumns.MyDateConverter.mConv.
|
private |
Definition at line 81 of file DateColumn.cs.
Referenced by MockPlugin.SampleListColumns.MyDateConverter.CanConvertFrom(), MockPlugin.SampleListColumns.MyDateConverter.CanConvertTo(), MockPlugin.SampleListColumns.MyDateConverter.ConvertFrom(), and MockPlugin.SampleListColumns.MyDateConverter.ConvertTo().