CachedDataAnnotationsModelMetadata Class

 

Provides a container for common metadata, for the DataAnnotationsModelMetadataProvider class, for a data model.

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

System::Object
  System.Web.Http.Metadata::ModelMetadata
    System.Web.Http.Metadata.Providers::CachedModelMetadata<TPrototypeCache>
      System.Web.Http.Metadata.Providers::CachedDataAnnotationsModelMetadata

public ref class CachedDataAnnotationsModelMetadata : CachedModelMetadata<CachedDataAnnotationsMetadataAttributes^>

NameDescription
System_CAPS_pubmethodCachedDataAnnotationsModelMetadata(CachedDataAnnotationsModelMetadata^, Func<Object^>^)

Initializes a new instance of the CachedDataAnnotationsModelMetadata class.

System_CAPS_pubmethodCachedDataAnnotationsModelMetadata(DataAnnotationsModelMetadataProvider^, Type^, Type^, String^, IEnumerable<Attribute^>^)

Initializes a new instance of the CachedDataAnnotationsModelMetadata class.

NameDescription
System_CAPS_pubpropertyAdditionalValues

Gets a dictionary that contains additional metadata about the model.(Inherited from ModelMetadata.)

System_CAPS_pubpropertyContainerType

Gets or sets the type of the container for the model.(Inherited from ModelMetadata.)

System_CAPS_pubpropertyConvertEmptyStringToNull

Gets or sets a value that indicates whether empty strings that are posted back in forms should be converted to null.(Inherited from CachedModelMetadata<TPrototypeCache>.)

System_CAPS_pubpropertyDescription

Gets or sets the description of the model.(Inherited from CachedModelMetadata<TPrototypeCache>.)

System_CAPS_pubpropertyIsComplexType

Gets a value that indicates whether the model is a complex type.(Inherited from CachedModelMetadata<TPrototypeCache>.)

System_CAPS_pubpropertyIsNullableValueType

Gets a value that indicates whether the type is nullable.(Inherited from ModelMetadata.)

System_CAPS_pubpropertyIsReadOnly

Gets or sets a value that indicates whether the model is read-only.(Inherited from CachedModelMetadata<TPrototypeCache>.)

System_CAPS_pubpropertyModel

Gets the value of the model.(Inherited from ModelMetadata.)

System_CAPS_pubpropertyModelType

Gets the type of the model.(Inherited from ModelMetadata.)

System_CAPS_pubpropertyProperties

Gets a collection of model metadata objects that describe the properties of the model.(Inherited from ModelMetadata.)

System_CAPS_pubpropertyPropertyName

Gets the property name.(Inherited from ModelMetadata.)

System_CAPS_protpropertyPrototypeCache

Gets or sets a value that indicates whether the prototype cache is updating.(Inherited from CachedModelMetadata<TPrototypeCache>.)

System_CAPS_protpropertyProvider

Gets or sets the provider.(Inherited from ModelMetadata.)

NameDescription
System_CAPS_protmethodComputeConvertEmptyStringToNull()

Retrieves a value that indicates whether empty strings that are posted back in forms should be converted to null.(Overrides CachedModelMetadata<TPrototypeCache>::ComputeConvertEmptyStringToNull().)

System_CAPS_protmethodComputeDescription()

Retrieves the description of the model.(Overrides CachedModelMetadata<TPrototypeCache>::ComputeDescription().)

System_CAPS_protmethodComputeIsComplexType()

Gets a value that indicates whether the model is a complex type.(Inherited from CachedModelMetadata<TPrototypeCache>.)

System_CAPS_protmethodComputeIsReadOnly()

Retrieves a value that indicates whether the model is read-only.(Overrides CachedModelMetadata<TPrototypeCache>::ComputeIsReadOnly().)

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetDisplayName()
System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodGetValidators(IEnumerable<ModelValidatorProvider^>^)

Gets a list of validators for the model.(Inherited from ModelMetadata.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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: