TestFileSystem.

GetTempDirectory(DirectoryPath) Method

Summary

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

Syntax

public IDirectory GetTempDirectory(DirectoryPath path = null)

Parameters

Name Type Description
path DirectoryPath The path of the temp directory. If this is an absolute path, then a directory representing the specified path is returned. If it's a relative path, then it will be combined with the current temp path. If this is null then the base temp directory is returned.

Return Value

Type Description
IDirectory A temp directory.
GitHub