CachedDataAnnotationsModelMetadata Class
Provides a container for common metadata, for the DataAnnotationsModelMetadataProvider class, for a data model.
System.Object
System.Web.Http.Metadata.ModelMetadata
System.Web.Http.Metadata.Providers.CachedModelMetadata<CachedDataAnnotationsMetadataAttributes>
System.Web.Http.Metadata.Providers.CachedDataAnnotationsModelMetadata
System.Web.Http.Metadata.ModelMetadata
System.Web.Http.Metadata.Providers.CachedModelMetadata<CachedDataAnnotationsMetadataAttributes>
System.Web.Http.Metadata.Providers.CachedDataAnnotationsModelMetadata
Namespace: System.Web.Http.Metadata.Providers
Assembly: System.Web.Http (in System.Web.Http.dll)
The CachedDataAnnotationsModelMetadata type exposes the following members.
Name | Description | |
---|---|---|
![]() | CachedDataAnnotationsModelMetadata(CachedDataAnnotationsModelMetadata, Func<Object>) | Initializes a new instance of the CachedDataAnnotationsModelMetadata class. |
![]() | CachedDataAnnotationsModelMetadata(DataAnnotationsModelMetadataProvider, Type, Type, String, IEnumerable<Attribute>) | Initializes a new instance of the CachedDataAnnotationsModelMetadata class. |
Name | Description | |
---|---|---|
![]() | AdditionalValues | Gets a dictionary that contains additional metadata about the model. (Inherited from ModelMetadata.) |
![]() | ContainerType | Gets or sets the type of the container for the model. (Inherited from ModelMetadata.) |
![]() | ConvertEmptyStringToNull | 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>.) |
![]() | Description | Gets or sets the description of the model. (Inherited from CachedModelMetadata<TPrototypeCache>.) |
![]() | IsComplexType | Gets a value that indicates whether the model is a complex type. (Inherited from CachedModelMetadata<TPrototypeCache>.) |
![]() | IsNullableValueType | Gets a value that indicates whether the type is nullable. (Inherited from ModelMetadata.) |
![]() | IsReadOnly | Gets or sets a value that indicates whether the model is read-only. (Inherited from CachedModelMetadata<TPrototypeCache>.) |
![]() | Model | Gets the value of the model. (Inherited from ModelMetadata.) |
![]() | ModelType | Gets the type of the model. (Inherited from ModelMetadata.) |
![]() | Properties | Gets a collection of model metadata objects that describe the properties of the model. (Inherited from ModelMetadata.) |
![]() | PropertyName | Gets the property name. (Inherited from ModelMetadata.) |
![]() | PrototypeCache | Gets or sets a value that indicates whether the prototype cache is updating. (Inherited from CachedModelMetadata<TPrototypeCache>.) |
![]() | Provider | Gets or sets the provider. (Inherited from ModelMetadata.) |
Name | Description | |
---|---|---|
![]() | ComputeConvertEmptyStringToNull | Retrieves a value that indicates whether empty strings that are posted back in forms should be converted to null. (Overrides CachedModelMetadata<TPrototypeCache>.ComputeConvertEmptyStringToNull().) |
![]() | ComputeDescription | Retrieves the description of the model. (Overrides CachedModelMetadata<TPrototypeCache>.ComputeDescription().) |
![]() | ComputeIsComplexType | Gets a value that indicates whether the model is a complex type. (Inherited from CachedModelMetadata<TPrototypeCache>.) |
![]() | ComputeIsReadOnly | Retrieves a value that indicates whether the model is read-only. (Overrides CachedModelMetadata<TPrototypeCache>.ComputeIsReadOnly().) |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetDisplayName | Gets the display name for the model. (Inherited from ModelMetadata.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | GetValidators | Gets a list of validators for the model. (Inherited from ModelMetadata.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |
Show: