IFile.

Open(bool) Method

Summary

Opens the file for reading and writing. This will either create the file if it doesn't exist or overwrite it if it does.
Assembly
Wyam.Common.dll
Namespace
Wyam.Common.IO
Containing Type
IFile

Syntax

Stream Open(bool createDirectory = true)

Parameters

Name Type Description
createDirectory bool Will create any needed directories that don't already exist if set to true.

Return Value

Type Description
Stream The stream.
GitHub