ValidationModelError Method
Invoked when an issue has been found while running the validator.
Namespace: MobileTrack.Common.ModelsAssembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
public static ValidationModel Error(
StatusCode statusCode,
string property,
string i18NKey
)
- statusCode StatusCode
- The code of the issue.
- property String
- The property containing the issue.
- i18NKey String
- The localization string directing towards a human-readable string representing the issue.
ValidationModelA validation model containing an error status