public CanConvertFrom ( ITypeDescriptorContext context, |
||
context | ITypeDescriptorContext | An |
sourceType | A |
|
return | bool |
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
{
if (sourceType == typeof(DoubleRange) ||
sourceType == typeof(IntRange))
return true;
return base.CanConvertFrom(context, sourceType);
}