Compartilhar via


ModelMetadataProvider Class

Inheritance Hierarchy

System.Object
  System.Web.Http.Metadata.ModelMetadataProvider
    System.Web.Http.Metadata.Providers.AssociatedMetadataProvider<TModelMetadata>

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

Syntax

'Declaration
Public MustInherit Class ModelMetadataProvider
'Usage
Dim instance As ModelMetadataProvider
public abstract class ModelMetadataProvider
public ref class ModelMetadataProvider abstract
[<AbstractClassAttribute>]
type ModelMetadataProvider =  class end
public abstract class ModelMetadataProvider

The ModelMetadataProvider type exposes the following members.

Constructors

  Name Description
Protected method ModelMetadataProvider Initializes a new instance of the ModelMetadataProvider class.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetMetadataForProperties Gets a ModelMetadata object for each property of a model.
Public method GetMetadataForProperty Get metadata for the specified property.
Public method GetMetadataForType Gets the metadata for the specified model accessor and model type.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (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 Namespace