C# Класс System.ComponentModel.TypeDescriptor.TypeDescriptionNode

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

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

Метод Описание
CreateInstance ( IServiceProvider provider, Type objectType, Type argTypes, object args ) : object

Implements CreateInstance. This just walks the linked list looking for someone who implements the call.

GetCache ( object instance ) : IDictionary

Implements GetCache. This just walks the linked list looking for someone who implements the call.

GetExtendedTypeDescriptor ( object instance ) : ICustomTypeDescriptor

Implements GetExtendedTypeDescriptor. This creates a custom type descriptor that walks the linked list for each of its calls.

GetFullComponentName ( object component ) : string

The name of the specified component, or null if the component has no name. In many cases this will return the same value as GetComponentName. If the component resides in a nested container or has other nested semantics, it may return a different fully qualfied name. If not overridden, the default implementation of this method will call GetTypeDescriptor.GetComponentName.

GetReflectionType ( Type objectType, object instance ) : Type

Implements GetReflectionType. This just walks the linked list looking for someone who implements the call.

GetRuntimeType ( Type objectType ) : Type
IsSupportedType ( Type type ) : bool

Защищенные методы

Метод Описание
GetExtenderProviders ( object instance ) : IExtenderProvider[]

Приватные методы

Метод Описание
GetTypeDescriptor ( Type objectType, object instance ) : ICustomTypeDescriptor
TypeDescriptionNode ( TypeDescriptionProvider provider ) : System.Collections

Creates a new type description node.

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

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

Implements CreateInstance. This just walks the linked list looking for someone who implements the call.
public CreateInstance ( IServiceProvider provider, Type objectType, Type argTypes, object args ) : object
provider IServiceProvider
objectType System.Type
argTypes System.Type
args object
Результат object

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

Implements GetCache. This just walks the linked list looking for someone who implements the call.
public GetCache ( object instance ) : IDictionary
instance object
Результат IDictionary

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

Implements GetExtendedTypeDescriptor. This creates a custom type descriptor that walks the linked list for each of its calls.
public GetExtendedTypeDescriptor ( object instance ) : ICustomTypeDescriptor
instance object
Результат ICustomTypeDescriptor

GetExtenderProviders() защищенный Метод

protected GetExtenderProviders ( object instance ) : IExtenderProvider[]
instance object
Результат IExtenderProvider[]

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

The name of the specified component, or null if the component has no name. In many cases this will return the same value as GetComponentName. If the component resides in a nested container or has other nested semantics, it may return a different fully qualfied name. If not overridden, the default implementation of this method will call GetTypeDescriptor.GetComponentName.
public GetFullComponentName ( object component ) : string
component object
Результат string

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

Implements GetReflectionType. This just walks the linked list looking for someone who implements the call.
public GetReflectionType ( Type objectType, object instance ) : Type
objectType System.Type
instance object
Результат System.Type

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

public GetRuntimeType ( Type objectType ) : Type
objectType System.Type
Результат System.Type

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

public IsSupportedType ( Type type ) : bool
type System.Type
Результат bool