ModelMetadata Methods

The ModelMetadata type exposes the following members.

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method Static member FromLambdaExpression<TParameter, TValue> Returns the metadata from the Expression parameter for the model.
Public method Static member FromStringExpression Gets the metadata from the expression parameter for the model.
Public method GetDisplayName Gets the display name for the model.
Public method GetHashCode (Inherited from Object.)
Protected method GetSimpleDisplayText Returns the simple description of the model.
Public method GetType (Inherited from Object.)
Public method GetValidators Gets a list of validators for the model.
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)