Swiss Army Knife
General utility tools for Scada Minds
Public Member Functions | Static Public Member Functions | Properties | List of all members
TemporaryDirectoryFixture Class Reference

Creates an empty, temporary directory located at "{SYSTEM_TMP_DIR}/{guid}" When disposing this object, the directory and all contents are deleted. More...

Inheritance diagram for TemporaryDirectoryFixture:

Public Member Functions

void Dispose ()
 Recursively deletes the temporary directory and all its content. More...
 

Static Public Member Functions

static TemporaryDirectoryFixture Create ()
 Creates a TemporaryDirectoryFixture and the underlying directory. This class performs IO. More...
 

Properties

string DirectoryPath [get]
 Gets the path to the temporary directory. More...
 
DirectoryInfo DirectoryInfo [get]
 Gets the DirectoryInfo that wraps the underlying temporary directory. More...
 

Detailed Description

Creates an empty, temporary directory located at "{SYSTEM_TMP_DIR}/{guid}" When disposing this object, the directory and all contents are deleted.

Member Function Documentation

◆ Create()

static TemporaryDirectoryFixture Create ( )
static

Creates a TemporaryDirectoryFixture and the underlying directory. This class performs IO.

Returns
The TemporaryDirectoryFixture.

◆ Dispose()

void Dispose ( )
inline

Recursively deletes the temporary directory and all its content.

Property Documentation

◆ DirectoryInfo

DirectoryInfo DirectoryInfo
get

Gets the DirectoryInfo that wraps the underlying temporary directory.

◆ DirectoryPath

string DirectoryPath
get

Gets the path to the temporary directory.


The documentation for this class was generated from the following file: