C# Class System.ComponentModel.TypeDescriptor.TypeDescriptionNode

Inheritance: TypeDescriptionProvider
Show file Open project: dotnet/corefx Class Usage Examples

Public Methods

Method 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

Protected Methods

Method Description
GetExtenderProviders ( object instance ) : IExtenderProvider[]

Private Methods

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

Creates a new type description node.

Method Details

CreateInstance() public method

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
return object

GetCache() public method

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

GetExtendedTypeDescriptor() public method

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

GetExtenderProviders() protected method

protected GetExtenderProviders ( object instance ) : IExtenderProvider[]
instance object
return IExtenderProvider[]

GetFullComponentName() public method

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
return string

GetReflectionType() public method

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
return System.Type

GetRuntimeType() public method

public GetRuntimeType ( Type objectType ) : Type
objectType System.Type
return System.Type

IsSupportedType() public method

public IsSupportedType ( Type type ) : bool
type System.Type
return bool