C# Class System.ComponentModel.TypeDescriptor.AttributeProvider.AttributeTypeDescriptor

Inheritance: CustomTypeDescriptor
Show file Open project: dotnet/corefx

Public Methods

Method Description
GetAttributes ( ) : AttributeCollection

Retrieves the merged set of attributes. We do not cache this because there is always the possibility that someone changed our parent provider's metadata. TypeDescriptor will cache this for us anyhow.

Private Methods

Method Description
AttributeTypeDescriptor ( Attribute attrs, ICustomTypeDescriptor parent ) : System.Collections

Creates a new custom type descriptor that can merge the provided set of attributes with the existing set.

Method Details

GetAttributes() public method

Retrieves the merged set of attributes. We do not cache this because there is always the possibility that someone changed our parent provider's metadata. TypeDescriptor will cache this for us anyhow.
public GetAttributes ( ) : AttributeCollection
return AttributeCollection