TestFileSystem.

GetTempFile(FilePath) Method

Summary

Gets a file representing a temp file.
Assembly
Wyam.Testing.dll
Namespace
Wyam.Testing.IO
Containing Type
TestFileSystem

Syntax

public IFile GetTempFile(FilePath path)

Parameters

Name Type Description
path FilePath If this is an absolute path, then a file representing the specified path is returned. If it's a relative path, then it will be combined with the current temp path.

Return Value

Type Description
IFile A temp file.
GitHub