Documentation
Table of Contents

Method WithDocumentStore

Namespace
IntentSharp
Assembly
IntentSharp.dll

WithDocumentStore(IDocumentStore)

Sets the document store the client keeps its versioned documents in: settings, the provider file, rule files and intent files. Calling it again replaces the store. Without a store, a feature that needs one says so where it is used.

public IntentClientBuilder WithDocumentStore(IDocumentStore store)

Parameters

store IDocumentStore

The store, such as an InMemoryDocumentStore or a store of your own.

Returns

IntentClientBuilder

Exceptions

ArgumentNullException

store is null.