Method AddWriter
AddWriter(IDocumentWriter)
Registers a writer.
public void AddWriter(IDocumentWriter writer)
Parameters
writerIDocumentWriterThe writer to register.
Exceptions
- ArgumentNullException
writeris null.- ArgumentException
A writer for the same format name is already registered.