FakeFile.

Open(FileMode, FileAccess, FileShare) Method

Summary

Opens the file using the specified options.
Namespace
Cake.Testing
Containing Type
FakeFile

Syntax

public Stream Open(FileMode fileMode, FileAccess fileAccess, FileShare fileShare)

Parameters

Name Type Description
fileMode FileMode The file mode.
fileAccess FileAccess The file access.
fileShare FileShare The file share.

Return Value

Type Description
Stream A Stream to the file.