Method AddDocumentValidator
- Namespace
- IntentSharp
- Assembly
- IntentSharp.dll
AddDocumentValidator(IDocumentValidator)
Adds a validator the client runs on every edit of a document it handles, after those already added. An edit of a document that no validator handles is refused.
public IntentClientBuilder AddDocumentValidator(IDocumentValidator validator)
Parameters
validatorIDocumentValidatorThe validator.
Returns
Exceptions
- ArgumentNullException
validatoris null.