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
attributes
Type: System.Collections.Generic.IEnumerable<Attribute>The attributes that provides data for the initialization.