CachedDataAnnotationsModelMetadata Methods
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Methods
Name | Description | |
---|---|---|
ComputeConvertEmptyStringToNull() | Gets a value that indicates whether empty strings that are posted back in forms should be converted to Nothing. If the value is cached, the cashed value is returned; otherwise the value is retrieved from the model metadata and stored in the cache.(Overrides CachedModelMetadata<TPrototypeCache>.ComputeConvertEmptyStringToNull().) |
|
ComputeDataTypeName() | Gets meta information about the data type. If the value is cached, the cashed value is returned; otherwise the value is retrieved from the model metadata and stored in the cache.(Overrides CachedModelMetadata<TPrototypeCache>.ComputeDataTypeName().) |
|
ComputeDescription() | Gets the description of the model. If the value is cached, the cashed value is returned; otherwise the value is retrieved from the model metadata and stored in the cache.(Overrides CachedModelMetadata<TPrototypeCache>.ComputeDescription().) |
|
ComputeDisplayFormatString() | Gets the display format string for the model. If the value is cached, the cashed value is returned; otherwise the value is retrieved from the model metadata and stored in the cache.(Overrides CachedModelMetadata<TPrototypeCache>.ComputeDisplayFormatString().) |
|
ComputeDisplayName() | Gets the display name of the model. If the value is cached, the cashed value is returned; otherwise the value is retrieved from the model metadata and stored in the cache.(Overrides CachedModelMetadata<TPrototypeCache>.ComputeDisplayName().) |
|
ComputeEditFormatString() | Gets the edit format string of the model. If the value is cached, the cashed value is returned; otherwise the value is retrieved from the model metadata and stored in the cache.(Overrides CachedModelMetadata<TPrototypeCache>.ComputeEditFormatString().) |
|
ComputeHasNonDefaultEditFormat() | Gets a value that indicates whether the model uses a non-default edit format.(Overrides CachedModelMetadata<TPrototypeCache>.ComputeHasNonDefaultEditFormat().) |
|
ComputeHideSurroundingHtml() | Gets a value that indicates whether the model object should be rendered using associated HTML elements. Gets a value that indicates whether the model object should be rendered using associated HTML elements. If the value is cached, the cashed value is returned; otherwise the value is retrieved from the model metadata and stored in the cache.(Overrides CachedModelMetadata<TPrototypeCache>.ComputeHideSurroundingHtml().) |
|
ComputeHtmlEncode() | (Overrides CachedModelMetadata<TPrototypeCache>.ComputeHtmlEncode().) |
|
ComputeIsReadOnly() | Gets a value that indicates whether the model is read-only. If the value is cached, the cashed value is returned; otherwise the value is retrieved from the model metadata and stored in the cache.(Overrides CachedModelMetadata<TPrototypeCache>.ComputeIsReadOnly().) |
|
ComputeIsRequired() | Gets a value that indicates whether the model is required. If the value is cached, the cashed value is returned; otherwise the value is retrieved from the model metadata and stored in the cache.(Overrides CachedModelMetadata<TPrototypeCache>.ComputeIsRequired().) |
|
ComputeNullDisplayText() | Gets the string to display for null values. If the value is cached, the cashed value is returned; otherwise the value is retrieved from the model metadata and stored in the cache.(Overrides CachedModelMetadata<TPrototypeCache>.ComputeNullDisplayText().) |
|
ComputeOrder() | Gets a value that represents order of the current metadata. If the value is cached, the cashed value is returned; otherwise the value is retrieved from the model metadata and stored in the cache.(Overrides CachedModelMetadata<TPrototypeCache>.ComputeOrder().) |
|
ComputeShortDisplayName() | Gets a short display name. If the value is cached, the cashed value is returned; otherwise the value is retrieved from the model metadata and stored in the cache.(Overrides CachedModelMetadata<TPrototypeCache>.ComputeShortDisplayName().) |
|
ComputeShowForDisplay() | Gets a value that indicates whether the property should be displayed in read-only views such as list and detail views. If the value is cached, the cashed value is returned; otherwise the value is retrieved from the model metadata and stored in the cache.(Overrides CachedModelMetadata<TPrototypeCache>.ComputeShowForDisplay().) |
|
ComputeShowForEdit() | Gets or sets a value that indicates whether the model should be displayed in editable views. If the value is cached, the cashed value is returned; otherwise the value is retrieved from the model metadata and stored in the cache.(Overrides CachedModelMetadata<TPrototypeCache>.ComputeShowForEdit().) |
|
ComputeSimpleDisplayText() | Gets the simple display string for the model. If the value is cached, the cashed value is returned; otherwise the value is retrieved from the model metadata and stored in the cache.(Overrides CachedModelMetadata<TPrototypeCache>.ComputeSimpleDisplayText().) |
|
ComputeTemplateHint() | Gets a hint that suggests what template to use for this model. If the value is cached, the cashed value is returned; otherwise the value is retrieved from the model metadata and stored in the cache.(Overrides CachedModelMetadata<TPrototypeCache>.ComputeTemplateHint().) |
|
ComputeWatermark() | Gets a value that can be used as a watermark. If the value is cached, the cashed value is returned; otherwise the value is retrieved from the model metadata and stored in the cache.(Overrides CachedModelMetadata<TPrototypeCache>.ComputeWatermark().) |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetDisplayName() | Gets the display name for the model.(Inherited from ModelMetadata.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetSimpleDisplayText() | Gets or sets the simple display string for the model.(Inherited from CachedModelMetadata<TPrototypeCache>.) |
|
GetType() | (Inherited from Object.) |
|
GetValidators(ControllerContext) | Gets a list of validators for the model.(Inherited from ModelMetadata.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
See Also
CachedDataAnnotationsModelMetadata Class
System.Web.Mvc Namespace
Return to top