Click or drag to resize
TransitFactoryWriterT Method (TransitFactoryFormat, Stream, IDictionaryType, IWriteHandler)

[This is preliminary documentation and is subject to change.]

Creates a writer instance.

Namespace: NForza.Transit
Assembly: Transit (in Transit.dll) Version: 0.8.1-alpha
Syntax
C#
public static IWriter<T> Writer<T>(
	TransitFactoryFormat type,
	Stream output,
	IDictionary<Type, IWriteHandler> customHandlers
)

Parameters

type
Type: NForza.TransitTransitFactoryFormat
The format to write in.
output
Type: System.IOStream
The output stream to write to.
customHandlers
Type: System.Collections.GenericIDictionaryType, IWriteHandler
Additional IWriteHandlers to use in addition to or in place of the default IWriteHandlers.

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:NForza.Transit.TransitFactory.Writer``1(NForza.Transit.TransitFactory.Format,System.IO.Stream,System.Collections.Generic.IDictionary{System.Type,NForza.Transit.IWriteHandler})"]

Return Value

Type: IWriterT
A writer
Exceptions
ExceptionCondition
NotImplementedException
ArgumentExceptionUnknown Writer type: + type.ToString()
See Also