C# Class xVal.ServerSide.RulesException

Inheritance: System.Exception
显示文件 Open project: fellowshiptech/ft-iserve Class Usage Examples

Public Methods

Method Description
AddModelStateErrors ( ModelStateDictionary modelState, string prefix ) : void
AddModelStateErrors ( ModelStateDictionary modelState, string prefix, bool>.Func errorFilter ) : void
RulesException ( IEnumerable errors ) : System
RulesException ( string propertyName, string errorMessage ) : System
RulesException ( string propertyName, string errorMessage, object onObject ) : System

Method Details

AddModelStateErrors() public method

public AddModelStateErrors ( ModelStateDictionary modelState, string prefix ) : void
modelState ModelStateDictionary
prefix string
return void

AddModelStateErrors() public method

public AddModelStateErrors ( ModelStateDictionary modelState, string prefix, bool>.Func errorFilter ) : void
modelState ModelStateDictionary
prefix string
errorFilter bool>.Func
return void

RulesException() public method

public RulesException ( IEnumerable errors ) : System
errors IEnumerable
return System

RulesException() public method

public RulesException ( string propertyName, string errorMessage ) : System
propertyName string
errorMessage string
return System

RulesException() public method

public RulesException ( string propertyName, string errorMessage, object onObject ) : System
propertyName string
errorMessage string
onObject object
return System