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.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
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