CachedAssociatedMetadataProvider<TModelMetadata> 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<TModelMetadata>
        System.Web.Http.Metadata.Providers.CachedDataAnnotationsModelMetadataProvider

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

Syntax

'Declaration
Public MustInherit Class CachedAssociatedMetadataProvider(Of TModelMetadata As ModelMetadata) _
    Inherits AssociatedMetadataProvider
public abstract class CachedAssociatedMetadataProvider<TModelMetadata> : AssociatedMetadataProvider
where TModelMetadata : ModelMetadata
generic<typename TModelMetadata>
where TModelMetadata : ModelMetadata
public ref class CachedAssociatedMetadataProvider abstract : public AssociatedMetadataProvider
[<AbstractClass>]
type CachedAssociatedMetadataProvider<'TModelMetadata when 'TModelMetadata : ModelMetadata> =  
    class
        inherit AssociatedMetadataProvider
    end
JScript does not support generic types or methods.

Type Parameters

  • TModelMetadata

The CachedAssociatedMetadataProvider<TModelMetadata> type exposes the following members.

Constructors

  Name Description
Protected method CachedAssociatedMetadataProvider<TModelMetadata> Initializes a new instance of the CachedAssociatedMetadataProvider<TModelMetadata> class.

Top

Properties

  Name Description
Protected property CacheItemPolicy Gets or sets {insert text here}.
Protected property CacheKeyPrefix Gets {insert text here}.
Protected property PrototypeCache Gets or sets {insert text here}.

Top

Methods

  Name Description
Protected method CreateMetadata (Overrides AssociatedMetadataProvider.CreateMetadata(IEnumerable<Attribute>, Type, Func<TResult>, Void, Object).)
Protected method CreateMetadataFromPrototype
Protected method CreateMetadataPrototype
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 (Overrides AssociatedMetadataProvider.GetMetadataForProperties(Object, Type).)
Protected method GetMetadataForProperty(Func<TResult>, Void, Object) (Overrides AssociatedMetadataProvider.GetMetadataForProperty(Func<TResult>, Void, Object).)
Public method GetMetadataForType (Overrides AssociatedMetadataProvider.GetMetadataForType(Func<TResult>, Void).)
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