Save

IOutputSaver.Save method

Saves the output file to the given path.

public void Save(string path, IOutputFile outputFile)
ParameterTypeDescription
pathStringPath to save the file to.
outputFileIOutputFileOutput file.

Examples

Saving into the FileStream implementation example:

[C#]
public void Save(string path, IOutputFile outputFile)
{
    using (FileStream stream = new FileStream(path, FileMode.Create))
    {
        outputFile.Write(stream);
    }
}

See Also