Share via


CachedDataAnnotationsMetadataAttributes Constructor

Initializes a new instance of the CachedDataAnnotationsMetadataAttributes class.

Namespace:  System.Web.Http.Metadata.Providers
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Public Sub New ( _
    attributes As IEnumerable(Of Attribute) _
)
'Usage
Dim attributes As IEnumerable(Of Attribute)

Dim instance As New CachedDataAnnotationsMetadataAttributes(attributes)
public CachedDataAnnotationsMetadataAttributes(
    IEnumerable<Attribute> attributes
)
public:
CachedDataAnnotationsMetadataAttributes(
    IEnumerable<Attribute^>^ attributes
)
new : 
        attributes:IEnumerable<Attribute> -> CachedDataAnnotationsMetadataAttributes
public function CachedDataAnnotationsMetadataAttributes(
    attributes : IEnumerable<Attribute>
)

Parameters

See Also

Reference

CachedDataAnnotationsMetadataAttributes Class

System.Web.Http.Metadata.Providers Namespace