Documentation
Table of Contents

Method AddDocumentFormat

Namespace
IntentSharp
Assembly
IntentSharp.dll

AddDocumentFormat(IDocumentFormat)

Adds a format the client reads documents in, chosen by extension. JSON is always there; a format whose name is already added is ignored.

public IntentClientBuilder AddDocumentFormat(IDocumentFormat format)

Parameters

format IDocumentFormat

The format.

Returns

IntentClientBuilder

Exceptions

ArgumentNullException

format is null.

ArgumentException

The format has no name or no valid extension, or an extension is already read by a format with another name.