Méthode | Description | |
---|---|---|
AddBusinessRuleValidationResult ( this modelValidation, IBusinessRuleValidationResult businessRuleValidationResult, bool validate = false ) : void |
Adds the business rule validation result.
|
|
AddFieldValidationResult ( this modelValidation, IFieldValidationResult fieldValidationResult, bool validate = false ) : void |
Adds the field validation result.
|
|
GetValidationContext ( this model ) : IValidationContext |
Gets the validation context of the specified model.
|
public static AddBusinessRuleValidationResult ( this modelValidation, IBusinessRuleValidationResult businessRuleValidationResult, bool validate = false ) : void | ||
modelValidation | this | The model validation. |
businessRuleValidationResult | IBusinessRuleValidationResult | The business rule validation result. |
validate | bool | if set to |
Résultat | void |
public static AddFieldValidationResult ( this modelValidation, IFieldValidationResult fieldValidationResult, bool validate = false ) : void | ||
modelValidation | this | The model validation. |
fieldValidationResult | IFieldValidationResult | The field validation result. |
validate | bool | if set to |
Résultat | void |
public static GetValidationContext ( this model ) : IValidationContext | ||
model | this | The model. |
Résultat | IValidationContext |