AssociatedMetadataProvider.FilterAttributes(Type, PropertyDescriptor, IEnumerable<Attribute>) AssociatedMetadataProvider.FilterAttributes(Type, PropertyDescriptor, IEnumerable<Attribute>) Method

Definition

Gets a list of attributes.

protected virtual System.Collections.Generic.IEnumerable<Attribute> FilterAttributes (Type containerType, System.ComponentModel.PropertyDescriptor propertyDescriptor, System.Collections.Generic.IEnumerable<Attribute> attributes);
abstract member FilterAttributes : Type * System.ComponentModel.PropertyDescriptor * seq<Attribute> -> seq<Attribute>
override this.FilterAttributes : Type * System.ComponentModel.PropertyDescriptor * seq<Attribute> -> seq<Attribute>

Parameters

containerType
Type Type

The type of the container.

propertyDescriptor
PropertyDescriptor PropertyDescriptor

The property descriptor.

attributes
IEnumerable<Attribute>

The attribute container.

Returns

A list of attributes.

Applies to