Export (0) Print
Expand All

CachedModelMetadata<TPrototypeCache> Class

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)

public abstract class CachedModelMetadata<TPrototypeCache> : ModelMetadata

Type Parameters

TPrototypeCache

The type of prototype cache.

The CachedModelMetadata<TPrototypeCache> type exposes the following members.

  NameDescription
Protected methodCachedModelMetadata<TPrototypeCache>(CachedModelMetadata<TPrototypeCache>, Func<Object>)Initializes a new instance of the CachedModelMetadata<TPrototypeCache> class.
Protected methodCachedModelMetadata<TPrototypeCache>(DataAnnotationsModelMetadataProvider, Type, Type, String, TPrototypeCache)Initializes a new instance of the CachedModelMetadata<TPrototypeCache> class.
Top

  NameDescription
Public propertyAdditionalValuesGets a dictionary that contains additional metadata about the model. (Inherited from ModelMetadata.)
Public propertyContainerTypeGets or sets the type of the container for the model. (Inherited from ModelMetadata.)
Public propertyConvertEmptyStringToNullGets or sets a value that indicates whether empty strings that are posted back in forms should be converted to null. (Overrides ModelMetadata.ConvertEmptyStringToNull.)
Public propertyDescriptionGets or sets the description of the model. (Overrides ModelMetadata.Description.)
Public propertyIsComplexTypeGets a value that indicates whether the model is a complex type. (Overrides ModelMetadata.IsComplexType.)
Public propertyIsNullableValueTypeGets a value that indicates whether the type is nullable. (Inherited from ModelMetadata.)
Public propertyIsReadOnlyGets or sets a value that indicates whether the model is read-only. (Overrides ModelMetadata.IsReadOnly.)
Public propertyModelGets the value of the model. (Inherited from ModelMetadata.)
Public propertyModelTypeGets the type of the model. (Inherited from ModelMetadata.)
Public propertyPropertiesGets a collection of model metadata objects that describe the properties of the model. (Inherited from ModelMetadata.)
Public propertyPropertyNameGets the property name. (Inherited from ModelMetadata.)
Protected propertyPrototypeCacheGets or sets a value that indicates whether the prototype cache is updating.
Protected propertyProviderGets or sets the provider. (Inherited from ModelMetadata.)
Top

  NameDescription
Protected methodComputeConvertEmptyStringToNullIndicates whether empty strings that are posted back in forms should be computed and converted to null.
Protected methodComputeDescriptionIndicates the computation value.
Protected methodComputeIsComplexTypeGets a value that indicates whether the model is a complex type.
Protected methodComputeIsReadOnlyGets a value that indicates whether the model to be computed is read-only.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetDisplayNameGets the display name for the model. (Inherited from ModelMetadata.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodGetValidatorsGets a list of validators for the model. (Inherited from ModelMetadata.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

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