C# Класс NanoByte.Common.Storage.TemporaryDirectory

Disposable class to create a temporary directory and delete it again when disposed.
Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
Dispose ( ) : void

Deletes the temporary directory.

TemporaryDirectory ( [ prefix ) : System

Creates a uniquely named, empty temporary directory on disk.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Описание методов

Dispose() публичный Метод

Deletes the temporary directory.
public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

protected Dispose ( bool disposing ) : void
disposing bool
Результат void

TemporaryDirectory() публичный Метод

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.
Результат System