C# Class System.ComponentModel.TypeDescriptor.AttributeProvider

Inheritance: TypeDescriptionProvider
Show file Open project: dotnet/corefx

Public Methods

Method Description
GetTypeDescriptor ( Type objectType, object instance ) : ICustomTypeDescriptor

Creates a custom type descriptor that replaces the attributes.

Private Methods

Method Description
AttributeProvider ( TypeDescriptionProvider existingProvider ) : System.Collections

Creates a new attribute provider.

Method Details

GetTypeDescriptor() public method

Creates a custom type descriptor that replaces the attributes.
public GetTypeDescriptor ( Type objectType, object instance ) : ICustomTypeDescriptor
objectType System.Type
instance object
return ICustomTypeDescriptor