Share via


CachedDataAnnotationsModelMetadataProvider Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Inheritance Hierarchy

System.Object
  System.Web.Http.Metadata.ModelMetadataProvider
    System.Web.Http.Metadata.Providers.AssociatedMetadataProvider
      System.Web.Http.Metadata.Providers.CachedAssociatedMetadataProvider<CachedDataAnnotationsModelMetadata>
        System.Web.Http.Metadata.Providers.CachedDataAnnotationsModelMetadataProvider

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

Syntax

'Declaration
Public Class CachedDataAnnotationsModelMetadataProvider _
    Inherits CachedAssociatedMetadataProvider(Of CachedDataAnnotationsModelMetadata)
public class CachedDataAnnotationsModelMetadataProvider : CachedAssociatedMetadataProvider<CachedDataAnnotationsModelMetadata>
public ref class CachedDataAnnotationsModelMetadataProvider : public CachedAssociatedMetadataProvider<CachedDataAnnotationsModelMetadata^>
type CachedDataAnnotationsModelMetadataProvider =  
    class
        inherit CachedAssociatedMetadataProvider<CachedDataAnnotationsModelMetadata>
    end
public class CachedDataAnnotationsModelMetadataProvider extends CachedAssociatedMetadataProvider<CachedDataAnnotationsModelMetadata>

The CachedDataAnnotationsModelMetadataProvider type exposes the following members.

Constructors

  Name Description
Public method CachedDataAnnotationsModelMetadataProvider Initializes a new instance of the CachedDataAnnotationsModelMetadataProvider class.

Top

Properties

  Name Description
Protected property CacheItemPolicy Gets or sets {insert text here}. (Inherited from CachedAssociatedMetadataProvider<TModelMetadata>.)
Protected property CacheKeyPrefix Gets {insert text here}. (Inherited from CachedAssociatedMetadataProvider<TModelMetadata>.)
Protected property PrototypeCache Gets or sets {insert text here}. (Inherited from CachedAssociatedMetadataProvider<TModelMetadata>.)

Top

Methods

  Name Description
Protected method CreateMetadata (Inherited from CachedAssociatedMetadataProvider<TModelMetadata>.)
Protected method CreateMetadataFromPrototype (Overrides CachedAssociatedMetadataProvider<TModelMetadata>.CreateMetadataFromPrototype(TModelMetadata, Func<TResult>).)
Protected method CreateMetadataPrototype (Overrides CachedAssociatedMetadataProvider<TModelMetadata>.CreateMetadataPrototype(IEnumerable<Attribute>, Type, Type, String).)
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method FilterAttributes (Inherited from AssociatedMetadataProvider.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetMetadataForProperties (Inherited from CachedAssociatedMetadataProvider<TModelMetadata>.)
Protected method GetMetadataForProperty(Func<TResult>, Void, Object) (Inherited from CachedAssociatedMetadataProvider<TModelMetadata>.)
Public method GetMetadataForType (Inherited from CachedAssociatedMetadataProvider<TModelMetadata>.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method GetTypeDescriptor (Inherited from AssociatedMetadataProvider.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Web.Http.Metadata.Providers Namespace