AssociatedMetadataProvider.FilterAttributes Method (Type, PropertyDescriptor, IEnumerable<Attribute>)
Gets a list of attributes.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
protected virtual IEnumerable<Attribute> FilterAttributes( Type containerType, PropertyDescriptor propertyDescriptor, IEnumerable<Attribute> attributes )
Parameters
- containerType
-
Type:
System.Type
The type of the container.
- propertyDescriptor
-
Type:
System.ComponentModel.PropertyDescriptor
The property descriptor.
- attributes
-
Type:
System.Collections.Generic.IEnumerable<Attribute>
The attribute container.
Show: