C# Класс Hawkeye.ComponentModel.CustomTypeDescriptors.GenericTypeDescriptionProvider

Наследование: System.ComponentModel.TypeDescriptionProvider
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

GenericTypeDescriptionProvider() публичный Метод

Initializes a new instance of the GenericTypeDescriptionProvider class.
customTypeDescriptor
public GenericTypeDescriptionProvider ( ICustomTypeDescriptor customTypeDescriptor ) : System
customTypeDescriptor ICustomTypeDescriptor /// The custom type descriptor returned by . ///
Результат System

GetExtendedTypeDescriptor() публичный Метод

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.
Результат ICustomTypeDescriptor

GetTypeDescriptor() публичный Метод

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 /// .
Результат ICustomTypeDescriptor