C# Class NArrange.Gui.Configuration.ConfigurationElementTypeDescriptionProvider

Custom type descriptor provider for the CodeConfiguration class.
Inheritance: System.ComponentModel.TypeDescriptionProvider
ファイルを表示 Open project: MarcStan/NArrange Class Usage Examples

Public Methods

Method Description
ConfigurationElementTypeDescriptionProvider ( Type type ) : System

Creates a new ConfigurationElementTypeDescriptionProvider.

GetTypeDescriptor ( Type objectType, object instance ) : ICustomTypeDescriptor

Create and return the custom type descriptor and chain it with the original custom type descriptor.

Method Details

ConfigurationElementTypeDescriptionProvider() public method

Creates a new ConfigurationElementTypeDescriptionProvider.
public ConfigurationElementTypeDescriptionProvider ( Type type ) : System
type System.Type Type to get property descriptions for.
return System

GetTypeDescriptor() public method

Create and return the custom type descriptor and chain it with the original custom type descriptor.
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