validate<T> abstract method
Validates whether value
is allowed to be stored for itemKey
.
Disallowed values will not be passed to save.
Use this method only for synchronous validation, as asynchronous validation should be done in save.
See load for itemKey
.
Implementation
OperationResult validate<T>(K itemKey, T? value);