C# Class Hawkeye.ComponentModel.CustomTypeDescriptors.GenericTypeDescriptionProvider

Inheritance: System.ComponentModel.TypeDescriptionProvider
Afficher le fichier Open project: odalet/Hawkeye2

Méthodes publiques

Méthode Description
GenericTypeDescriptionProvider ( ICustomTypeDescriptor customTypeDescriptor ) : System

Initializes a new instance of the GenericTypeDescriptionProvider class.

GetExtendedTypeDescriptor ( object instance ) : ICustomTypeDescriptor

Gets an extended custom type descriptor for the given object.

GetTypeDescriptor ( Type objectType, object instance ) : ICustomTypeDescriptor

Gets a custom type descriptor for the given type and object.

Method Details

GenericTypeDescriptionProvider() public méthode

Initializes a new instance of the GenericTypeDescriptionProvider class.
customTypeDescriptor
public GenericTypeDescriptionProvider ( ICustomTypeDescriptor customTypeDescriptor ) : System
customTypeDescriptor ICustomTypeDescriptor /// The custom type descriptor returned by . ///
Résultat System

GetExtendedTypeDescriptor() public méthode

Gets an extended custom type descriptor for the given object.
public GetExtendedTypeDescriptor ( object instance ) : ICustomTypeDescriptor
instance object The object for which to get the extended type descriptor.
Résultat ICustomTypeDescriptor

GetTypeDescriptor() public méthode

Gets a custom type descriptor for the given type and object.
public GetTypeDescriptor ( Type objectType, object instance ) : ICustomTypeDescriptor
objectType System.Type The type of object for which to retrieve the type descriptor.
instance object /// An instance of the type. Can be null if no instance was passed to the /// .
Résultat ICustomTypeDescriptor