namespace System.ComponentModel {
public abstract class BaseNumberConverter : TypeConverter {
public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType);
}
public class CultureInfoConverter : TypeConverter {
public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType);
}
public abstract class CustomTypeDescriptor : ICustomTypeDescriptor {
- protected CustomTypeDescriptor(ICustomTypeDescriptor? parent);
+ protected CustomTypeDescriptor(ICustomTypeDescriptor parent);
- public virtual string? GetClassName();
+ public virtual string GetClassName();
- public virtual string? GetComponentName();
+ public virtual string GetComponentName();
- public virtual EventDescriptor? GetDefaultEvent();
+ public virtual EventDescriptor GetDefaultEvent();
- public virtual PropertyDescriptor? GetDefaultProperty();
+ public virtual PropertyDescriptor GetDefaultProperty();
- public virtual object? GetPropertyOwner(PropertyDescriptor? pd);
+ public virtual object GetPropertyOwner(PropertyDescriptor pd);
}
+ public class DateOnlyConverter : TypeConverter {
+ public DateOnlyConverter();
+ public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType);
+ public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType);
+ public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value);
+ public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType);
+ }
public class DateTimeConverter : TypeConverter {
public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType);
}
public class DateTimeOffsetConverter : TypeConverter {
public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType);
}
public class DecimalConverter : BaseNumberConverter {
public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType);
}
public class EnumConverter : TypeConverter {
public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType);
}
public class GuidConverter : TypeConverter {
public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType);
}
+ public class HalfConverter : BaseNumberConverter {
+ public HalfConverter();
+ }
public interface IComNativeDescriptorHandler
public interface ICustomTypeDescriptor {
- TypeConverter GetConverter();
+ TypeConverter? GetConverter();
}
+ public class Int128Converter : BaseNumberConverter {
+ public Int128Converter();
+ }
public abstract class MemberDescriptor {
protected static object GetInvokee(Type componentClass, object component);
}
public class NullableConverter : TypeConverter {
public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType);
}
public class RecommendedAsConfigurableAttribute : Attribute
+ public class TimeOnlyConverter : TypeConverter {
+ public TimeOnlyConverter();
+ public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType);
+ public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType);
+ public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value);
+ public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType);
+ }
public class TimeSpanConverter : TypeConverter {
public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType);
}
public class TypeConverter {
public virtual bool CanConvertTo(ITypeDescriptorContext context, Type destinationType);
public bool CanConvertTo(Type destinationType);
}
public sealed class TypeDescriptor {
public static Type ComObjectType { get; }
public static Type InterfaceType { get; }
public static TypeDescriptionProvider AddAttributes(object instance, params Attribute[] attributes);
public static TypeDescriptionProvider AddAttributes(Type type, params Attribute[] attributes);
public static void AddEditorTable(Type editorBaseType, Hashtable table);
public static void AddProvider(TypeDescriptionProvider provider, object instance);
public static void AddProvider(TypeDescriptionProvider provider, Type type);
public static void AddProviderTransparent(TypeDescriptionProvider provider, object instance);
public static void AddProviderTransparent(TypeDescriptionProvider provider, Type type);
public static void CreateAssociation(object primary, object secondary);
public static object GetAssociation(Type type, object primary);
public static AttributeCollection GetAttributes(object component, bool noCustomTypeDesc);
public static string? GetClassName(object component, bool noCustomTypeDesc);
public static string? GetComponentName(object component, bool noCustomTypeDesc);
public static TypeConverter GetConverter(object component, bool noCustomTypeDesc);
public static EventDescriptor? GetDefaultEvent(object component, bool noCustomTypeDesc);
public static PropertyDescriptor? GetDefaultProperty(object component, bool noCustomTypeDesc);
public static object? GetEditor(object component, Type editorBaseType, bool noCustomTypeDesc);
public static EventDescriptorCollection GetEvents(object component, Attribute[]? attributes, bool noCustomTypeDesc);
public static EventDescriptorCollection GetEvents(object component, bool noCustomTypeDesc);
public static PropertyDescriptorCollection GetProperties(object component, bool noCustomTypeDesc);
public static TypeDescriptionProvider GetProvider(object instance);
public static TypeDescriptionProvider GetProvider(Type type);
public static Type GetReflectionType(object instance);
public static Type GetReflectionType(Type type);
public static void RemoveAssociation(object primary, object secondary);
public static void RemoveAssociations(object primary);
public static void RemoveProvider(TypeDescriptionProvider provider, object instance);
public static void RemoveProvider(TypeDescriptionProvider provider, Type type);
public static void RemoveProviderTransparent(TypeDescriptionProvider provider, object instance);
public static void RemoveProviderTransparent(TypeDescriptionProvider provider, Type type);
}
public abstract class TypeListConverter : TypeConverter {
public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType);
}
+ public class UInt128Converter : BaseNumberConverter {
+ public UInt128Converter();
+ }
public class VersionConverter : TypeConverter {
public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType);
}
}