Table of Contents

Method CreateWriter

Namespace
Bonsai.IO
Assembly
Bonsai.System.dll

CreateWriter(string, TSource)

When overridden in a derived class, creates the writer over the specified fileName that will be responsible for handling the input elements.

protected abstract TWriter CreateWriter(string fileName, TSource input)

Parameters

fileName string

The name of the file on which the elements should be written.

input TSource

The first input element that needs to be pushed into the file.

Returns

TWriter

The writer that will be used to push elements into the file.