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

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

Private Properties

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

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

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

Deletes the temporary file.

TemporaryFile ( [ prefix ) : System

Creates a uniquely named, empty temporary file on disk.

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

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

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

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

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

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

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

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

Creates a uniquely named, empty temporary file on disk.
A problem occurred while creating a file in . Creating a file in is not permitted.
public TemporaryFile ( [ prefix ) : System
prefix [ A short string the directory name should start with.
Результат System