C# Class System.ComponentModel.TypeDescriptor.TypeDescriptionNode

Inheritance: TypeDescriptionProvider
Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
GetExtenderProviders ( object instance ) : IExtenderProvider[]

Private Methods

Méthode Description
GetTypeDescriptor ( Type objectType, object instance ) : ICustomTypeDescriptor
TypeDescriptionNode ( TypeDescriptionProvider provider ) : System.Collections

Creates a new type description node.

Method Details

CreateInstance() public méthode

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
Résultat object

GetCache() public méthode

Implements GetCache. This just walks the linked list looking for someone who implements the call.
public GetCache ( object instance ) : IDictionary
instance object
Résultat IDictionary

GetExtendedTypeDescriptor() public méthode

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
Résultat ICustomTypeDescriptor

GetExtenderProviders() protected méthode

protected GetExtenderProviders ( object instance ) : IExtenderProvider[]
instance object
Résultat IExtenderProvider[]

GetFullComponentName() public méthode

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
Résultat string

GetReflectionType() public méthode

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
Résultat System.Type

GetRuntimeType() public méthode

public GetRuntimeType ( Type objectType ) : Type
objectType System.Type
Résultat System.Type

IsSupportedType() public méthode

public IsSupportedType ( Type type ) : bool
type System.Type
Résultat bool