C# Class NanoByte.Common.Storage.TemporaryDirectory

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

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
Dispose ( ) : void

Deletes the temporary directory.

TemporaryDirectory ( [ prefix ) : System

Creates a uniquely named, empty temporary directory on disk.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Method Details

Dispose() public méthode

Deletes the temporary directory.
public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

TemporaryDirectory() public méthode

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.
Résultat System