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
public
ICustomTypeDescriptor
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
object
CreateInstance​(IServiceProvider provider,
Type objectType,
Type[] argTypes,
object[] args)
Inherited from TypeDescriptionProvider
public
ICustomTypeDescriptor
GetExtendedTypeDescriptor​(object instance)
Inherited from TypeDescriptionProvider
public
ICustomTypeDescriptor
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
public
ICustomTypeDescriptor
GetTypeDescriptor​(object instance)
Inherited from TypeDescriptionProvider
public
ICustomTypeDescriptor
GetTypeDescriptor​(Type objectType)
Inherited from TypeDescriptionProvider
public
ICustomTypeDescriptor
GetTypeDescriptorFromRegisteredType​(object instance)
Inherited from TypeDescriptionProvider
public
ICustomTypeDescriptor
GetTypeDescriptorFromRegisteredType​(Type objectType)
Inherited from TypeDescriptionProvider
public
ICustomTypeDescriptor
GetTypeDescriptorFromRegisteredType​(Type objectType,
object instance)
Inherited from TypeDescriptionProvider
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object