EmptyModelMetadataProvider Class
Inheritance Hierarchy
System.Object
System.Web.Http.Metadata.ModelMetadataProvider
System.Web.Http.Metadata.Providers.AssociatedMetadataProvider<ModelMetadata>
System.Web.Http.Metadata.Providers.EmptyModelMetadataProvider
Namespace: System.Web.Http.Metadata.Providers
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Class EmptyModelMetadataProvider _
Inherits AssociatedMetadataProvider(Of ModelMetadata)
'Usage
Dim instance As EmptyModelMetadataProvider
public class EmptyModelMetadataProvider : AssociatedMetadataProvider<ModelMetadata>
public ref class EmptyModelMetadataProvider : public AssociatedMetadataProvider<ModelMetadata^>
type EmptyModelMetadataProvider =
class
inherit AssociatedMetadataProvider<ModelMetadata>
end
public class EmptyModelMetadataProvider extends AssociatedMetadataProvider<ModelMetadata>
The EmptyModelMetadataProvider type exposes the following members.
Constructors
Name | Description | |
---|---|---|
EmptyModelMetadataProvider | Initializes a new instance of the EmptyModelMetadataProvider class. |
Top
Methods
Name | Description | |
---|---|---|
CreateMetadataFromPrototype | Creates metadata from prototype. (Overrides AssociatedMetadataProvider<TModelMetadata>.CreateMetadataFromPrototype(TModelMetadata, Func<Object>).) | |
CreateMetadataPrototype | Creates a prototype of the metadata provider of the EmptyModelMetadataProvider. (Overrides AssociatedMetadataProvider<TModelMetadata>.CreateMetadataPrototype(IEnumerable<Attribute>, Type, Type, String).) | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetMetadataForProperties | Retrieves a list of properties for the model. (Inherited from AssociatedMetadataProvider<TModelMetadata>.) | |
GetMetadataForProperty | Retrieves the metadata for the specified property using the container type and property name. (Inherited from AssociatedMetadataProvider<TModelMetadata>.) | |
GetMetadataForType | Returns the metadata for the specified property using the type of the model. (Inherited from AssociatedMetadataProvider<TModelMetadata>.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
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.