Method CanConvertFrom
- Namespace
- Innova.Data.AppSettings
- Assembly
- Innova.Data.dll
CanConvertFrom(ITypeDescriptorContext, Type)
Determines whether this converter can convert the specified source type to the type of this converter.
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
Parameters
context
ITypeDescriptorContextAn ITypeDescriptorContext that provides a format context.
sourceType
TypeThe type of the source that is being converted.
Returns
- bool
true if this converter can perform the conversion; otherwise, false.