public override bool CanConvertTo(ITypeDescriptorContext typeDescriptorContext, Type destinationType) { return(Type.GetTypeCode(destinationType) == TypeCode.String ? true : TypeConverters.CanConvertTo <DateTime?>(destinationType)); }
public override bool CanConvertTo(ITypeDescriptorContext typeDescriptorContext, Type destinationType) { return(Type.GetTypeCode(destinationType) == TypeCode.String ? true : TypeConverters.CanConvertTo <DateTime?>(destinationType)); }