C# Class NanoByte.Common.Storage.TemporaryDirectory

Disposable class to create a temporary directory and delete it again when disposed.
Inheritance: IDisposable
Mostrar archivo Open project: nano-byte/common Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Dispose ( ) : void

Deletes the temporary directory.

TemporaryDirectory ( [ prefix ) : System

Creates a uniquely named, empty temporary directory on disk.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Method Details

Dispose() public method

Deletes the temporary directory.
public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

TemporaryDirectory() public method

Creates a uniquely named, empty temporary directory on disk.
A problem occurred while creating a directory in . Creating a directory in is not permitted.
public TemporaryDirectory ( [ prefix ) : System
prefix [ A short string the directory name should start with.
return System