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
formatIDocumentFormatThe format.
Returns
Exceptions
- ArgumentNullException
formatis null.- ArgumentException
The format has no name or no valid extension, or an extension is already read by a format with another name.