9 internal abstract Type TargetType {
get; }
23 if (!(sourceType == typeof(
string)))
25 return base.CanConvertFrom(context, sourceType);
34 string text2 =
text.Trim();
62 if (destinationType ==
null)
79 return base.ConvertTo(context,
culture,
value, destinationType);
84 if (destinationType !=
null && destinationType.
IsPrimitive)
88 return base.CanConvertTo(context, destinationType);
override bool CanConvertTo(ITypeDescriptorContext? context, Type? destinationType)
object FromString(string value, int radix)
object FromString(string value, NumberFormatInfo formatInfo)
override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType)
override? object ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
string ToString(object value, NumberFormatInfo formatInfo)
override? object ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
static ? object ChangeType(object? value, TypeCode typeCode)
static CultureInfo CurrentCulture
static string Format(string resourceFormat, object p1)
static string ConvertInvalidPrimitive
virtual bool IsInstanceOfType([NotNullWhen(true)] object? o)