Documentation
Table of Contents

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

validator IDocumentValidator

The validator.

Returns

IntentClientBuilder

Exceptions

ArgumentNullException

validator is null.