Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Inheritance Hierarchy
System.Object
System.Web.Http.Metadata.ModelMetadata
System.Web.Http.Metadata.Providers.CachedModelMetadata<TPrototypeCache>
System.Web.Http.Metadata.Providers.CachedDataAnnotationsModelMetadata
Namespace: System.Web.Http.Metadata.Providers
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public MustInherit Class CachedModelMetadata(Of TPrototypeCache) _
Inherits ModelMetadata
'Usage
Dim instance As CachedModelMetadata(Of TPrototypeCache)
public abstract class CachedModelMetadata<TPrototypeCache> : ModelMetadata
generic<typename TPrototypeCache>
public ref class CachedModelMetadata abstract : public ModelMetadata
[<AbstractClassAttribute>]
type CachedModelMetadata<'TPrototypeCache> =
class
inherit ModelMetadata
end
JScript does not support generic types and methods.
Type Parameters
- TPrototypeCache
The type of prototype cache.
The CachedModelMetadata<TPrototypeCache> type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
CachedModelMetadata<TPrototypeCache>(CachedModelMetadata<TPrototypeCache>, Func<Object>) | Initializes a new instance of the CachedModelMetadata<TPrototypeCache> class. |
![]() |
CachedModelMetadata<TPrototypeCache>(DataAnnotationsModelMetadataProvider, Type, Type, String, TPrototypeCache) | Initializes a new instance of the CachedModelMetadata<TPrototypeCache> class. |
Top
Properties
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. (Overrides ModelMetadata.ConvertEmptyStringToNull.) |
![]() |
Description | Gets or sets the description of the model. (Overrides ModelMetadata.Description.) |
![]() |
IsComplexType | Gets a value that indicates whether the model is a complex type. (Overrides ModelMetadata.IsComplexType.) |
![]() |
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. (Overrides ModelMetadata.IsReadOnly.) |
![]() |
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. |
![]() |
Provider | Gets or sets the provider. (Inherited from ModelMetadata.) |
Top
Methods
Name | Description | |
---|---|---|
![]() |
ComputeConvertEmptyStringToNull | Indicates whether empty strings that are posted back in forms should be computed and converted to null. |
![]() |
ComputeDescription | Indicates the computation value. |
![]() |
ComputeIsComplexType | Gets a value that indicates whether the model is a complex type. |
![]() |
ComputeIsReadOnly | Gets a value that indicates whether the model to be computed is read-only. |
![]() |
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.) |
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.