Table of Contents

Class CachedDataAnnotationsMetadataAttributes

Namespace
System.Web.Http.Metadata.Providers
Assembly
System.Web.Http.dll

Provides prototype cache data for CachedModelMetadata<TPrototypeCache>.

public class CachedDataAnnotationsMetadataAttributes
Inheritance
CachedDataAnnotationsMetadataAttributes
Inherited Members

Constructors

CachedDataAnnotationsMetadataAttributes(IEnumerable<Attribute>)

Initializes a new instance of the CachedDataAnnotationsMetadataAttributes class.

public CachedDataAnnotationsMetadataAttributes(IEnumerable<Attribute> attributes)

Parameters

attributes IEnumerable<Attribute>

The attributes that provides data for the initialization.

Properties

Display

Gets or sets the metadata display attribute.

public DisplayAttribute Display { get; protected set; }

Property Value

DisplayAttribute

The metadata display attribute.

DisplayFormat

Gets or sets the metadata display format attribute.

public DisplayFormatAttribute DisplayFormat { get; protected set; }

Property Value

DisplayFormatAttribute

The metadata display format attribute.

Editable

Gets or sets the metadata editable attribute.

public EditableAttribute Editable { get; protected set; }

Property Value

EditableAttribute

The metadata editable attribute.

ReadOnly

Gets or sets the metadata read-only attribute.

public ReadOnlyAttribute ReadOnly { get; protected set; }

Property Value

ReadOnlyAttribute

The metadata read-only attribute.