C# Class Manos.Mvc.ModelState

显示文件 Open project: toptensoftware/manos Class Usage Examples

Public Methods

Method Description
AddModelError ( string key, string message ) : void
GetValue ( string key ) : ModelValue
IsFieldValid ( string key ) : bool
ModelState ( ) : System

Method Details

AddModelError() public method

public AddModelError ( string key, string message ) : void
key string
message string
return void

GetValue() public method

public GetValue ( string key ) : ModelValue
key string
return ModelValue

IsFieldValid() public method

public IsFieldValid ( string key ) : bool
key string
return bool

ModelState() public method

public ModelState ( ) : System
return System