EmptyModelMetadataProvider Class
TOC
Collapse the table of content
Expand the table of content

EmptyModelMetadataProvider Class

.NET Framework (current version)
 

Provides an empty metadata provider for data models that do not require metadata.

Namespace:   System.Web.ModelBinding
Assembly:  System.Web (in System.Web.dll)

System.Object
  System.Web.ModelBinding.ModelMetadataProvider
    System.Web.ModelBinding.AssociatedMetadataProvider
      System.Web.ModelBinding.EmptyModelMetadataProvider

public class EmptyModelMetadataProvider : AssociatedMetadataProvider

NameDescription
System_CAPS_pubmethodEmptyModelMetadataProvider()

Initializes a new instance of the EmptyModelMetadataProvider class.

NameDescription
System_CAPS_protmethodCreateMetadata(IEnumerable<Attribute>, Type, Func<Object>, Type, String)
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFilterAttributes(Type, PropertyDescriptor, IEnumerable<Attribute>)

Enables derived classes to filter the list of attributes.(Inherited from AssociatedMetadataProvider.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetMetadataForProperties(Object, Type)

When overridden in a derived class, returns metadata for all properties.(Inherited from AssociatedMetadataProvider.)

System_CAPS_protmethodGetMetadataForProperty(Func<Object>, Type, PropertyDescriptor)

When overridden in a derived class, returns metadata for a property specified by a property descriptor object.(Inherited from AssociatedMetadataProvider.)

System_CAPS_pubmethodGetMetadataForProperty(Func<Object>, Type, String)

When overridden in a derived class, returns metadata for a property specified by a property name.(Inherited from AssociatedMetadataProvider.)

System_CAPS_pubmethodGetMetadataForType(Func<Object>, Type)

When overridden in a derived class, returns metadata for the model type.(Inherited from AssociatedMetadataProvider.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodGetTypeDescriptor(Type)

When overridden in a derived class, returns a descriptor object for a specified type. (Inherited from AssociatedMetadataProvider.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

.NET Framework
Available since 4.5

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

Return to top
Show:
© 2016 Microsoft