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

Creates 0-byte, temporary file in the system temp location. When disposing this object, the file is deleted. More...

Inheritance diagram for TemporaryFileFixture:

Public Member Functions

void Dispose ()
 Deletes the temporary file that this fixture governed. More...
 

Static Public Member Functions

static TemporaryFileFixture Create ()
 Create a TemporaryFileFixture. This method performs IO. More...
 

Properties

string Path [get]
 Gets the path to the temporary file that this fixture governs. More...
 
FileInfo FileInfo [get]
 Gets the FileInfo field that wraps the field that this fixture governs. More...
 

Detailed Description

Creates 0-byte, temporary file in the system temp location. When disposing this object, the file is deleted.

Member Function Documentation

◆ Create()

static TemporaryFileFixture Create ( )
static

Create a TemporaryFileFixture. This method performs IO.

Returns
A TemporaryFileFixture for a temporary file.

◆ Dispose()

void Dispose ( )
inline

Deletes the temporary file that this fixture governed.

Property Documentation

◆ FileInfo

FileInfo FileInfo
get

Gets the FileInfo field that wraps the field that this fixture governs.

◆ Path

string Path
get

Gets the path to the temporary file that this fixture governs.


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