Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class System.​ComponentModel.​DataAnnotations.​AssociatedMetadataTypeTypeDescriptionProvider

Assembly: System.ComponentModel.Annotations

Inheritance: object → TypeDescriptionProvider → AssociatedMetadataTypeTypeDescriptionProvider

Extends the metadata information for a class by adding attributes and property information that is defined in an associated class.

Properties

public bool?
RequireRegisteredTypes

Methods

GetTypeDescriptor​(Type objectType, object instance)
Gets a type descriptor for the specified type and object.
Returns The descriptor that provides metadata for the type.
objectType The type of object to retrieve the type descriptor for.
instance An instance of the type.
public void
RegisterType​()
Inherited from TypeDescriptionProvider
public object
CreateInstance​(IServiceProvider provider, Type objectType, Type[] argTypes, object[] args)
Inherited from TypeDescriptionProvider
GetCache​(object instance)
Inherited from TypeDescriptionProvider
GetExtendedTypeDescriptor​(object instance)
Inherited from TypeDescriptionProvider
GetExtendedTypeDescriptorFromRegisteredType​(object instance)
Inherited from TypeDescriptionProvider
public string
GetFullComponentName​(object component)
Inherited from TypeDescriptionProvider
public Type
GetReflectionType​(object instance)
Inherited from TypeDescriptionProvider
public Type
GetReflectionType​(Type objectType)
Inherited from TypeDescriptionProvider
public Type
GetReflectionType​(Type objectType, object instance)
Inherited from TypeDescriptionProvider
public Type
GetRuntimeType​(Type reflectionType)
Inherited from TypeDescriptionProvider
GetTypeDescriptor​(object instance)
Inherited from TypeDescriptionProvider
GetTypeDescriptor​(Type objectType)
Inherited from TypeDescriptionProvider
GetTypeDescriptorFromRegisteredType​(object instance)
Inherited from TypeDescriptionProvider
GetTypeDescriptorFromRegisteredType​(Type objectType)
Inherited from TypeDescriptionProvider
GetTypeDescriptorFromRegisteredType​(Type objectType, object instance)
Inherited from TypeDescriptionProvider
public bool
IsRegisteredType​(Type type)
Inherited from TypeDescriptionProvider
public bool
IsSupportedType​(Type type)
Inherited from TypeDescriptionProvider
public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object