FakeFile.

Delete() Method

Summary

Deletes the file.
Namespace
Cake.Testing
Containing Type
FakeFile

Syntax

public void Delete()

Examples

var file = context.FileSystem.GetFile("./temp.txt");
file.Delete();

Return Value

Type Description
void