FakeFileSystemExtensions Class

Summary

Contains extensions for FakeFileSystem.
Namespace
Cake.Testing
Base Types
  • object
graph BT Type-->Base0["object"] Type["FakeFileSystemExtensions"] class Type type-node

Syntax

public static class FakeFileSystemExtensions

Methods

Name Value Summary
CreateDirectory(FakeFileSystem, DirectoryPath) FakeDirectory
Creates a directory at the specified path.
static
CreateFile(FakeFileSystem, FilePath, byte[]) FakeFile
Creates a file at the specified path.
static
CreateFile(FakeFileSystem, FilePath, FileAttributes) FakeFile
Creates a file at the specified path.
static
EnsureFileDoesNotExist(FakeFileSystem, FilePath) void
Ensures that the specified file does not exist.
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin