Class AsyncReaderSourceCollectionConverter
The type converter which converts the instance of IEnumerable to the AsyncReaderSourceCollection.
Inheritance
Namespace: Telerik.Windows.Controls.Map
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public class AsyncReaderSourceCollectionConverter : TypeConverter
Constructors
AsyncReaderSourceCollectionConverter()
Declaration
public AsyncReaderSourceCollectionConverter()
Methods
CanConvertFrom(ITypeDescriptorContext, Type)
Gets a value that indicates whether this type converter can convert from a given type.
Declaration
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
Parameters
System.ComponentModel.ITypeDescriptorContext
context
ITypeDescriptorContext for this call. |
System.Type
sourceType
Type being queried for support. |
Returns
System.Boolean
True if this converter can convert from the specified type; false otherwise. |
ConvertFrom(ITypeDescriptorContext, CultureInfo, Object)
Attempts to convert to a Location from the given object.
Declaration
public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Parameters
System.ComponentModel.ITypeDescriptorContext
context
The ITypeDescriptorContext for this call. |
System.Globalization.CultureInfo
culture
The CultureInfo which is respected when converting. |
System.Object
value
The object to convert to an instance of Location. |
Returns
System.Object
Location that was constructed. |