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+45c8d9adb5970d727cceec44a5ed61aea0016e50
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