C# Class Hawkeye.ComponentModel.CustomTypeDescriptors.GenericTypeDescriptionProvider

Inheritance: System.ComponentModel.TypeDescriptionProvider
Mostrar archivo Open project: odalet/Hawkeye2

Public Methods

Method 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 method

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

GetExtendedTypeDescriptor() public method

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.
return ICustomTypeDescriptor

GetTypeDescriptor() public method

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 /// .
return ICustomTypeDescriptor