public override bool IsValid(ITypeDescriptorContext context, object value) { object result; return(Converter.TryConvert(value, convObj.GetType(), out result)); }
public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) { object result; return(Converter.TryConvert(convObj, destinationType, out result)); }