C# Класс ICSharpCode.SharpZipLib.Zip.DiskArchiveStorage

An IArchiveStorage implementation suitable for hard disks.
Наследование: BaseArchiveStorage
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
ConvertTemporaryToFinal ( ) : Stream

Converts a temporary Stream to its final form.

DiskArchiveStorage ( ZipFile file ) : System

Initializes a new instance of the DiskArchiveStorage class.

DiskArchiveStorage ( ZipFile file, FileUpdateMode updateMode ) : System

Initializes a new instance of the DiskArchiveStorage class.

Dispose ( ) : void

Disposes this instance.

GetTemporaryOutput ( ) : Stream

Gets a temporary output Stream for performing updates on.

MakeTemporaryCopy ( Stream stream ) : Stream

Make a temporary copy of a stream.

OpenForDirectUpdate ( Stream stream ) : Stream

Return a stream suitable for performing direct updates on the original source.

If the stream is not null this is used as is.

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

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

Приватные методы

Метод Описание
GetTempFileName ( string original, bool makeTempFile ) : string

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

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

Converts a temporary Stream to its final form.
public ConvertTemporaryToFinal ( ) : Stream
Результат Stream

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

Initializes a new instance of the DiskArchiveStorage class.
public DiskArchiveStorage ( ZipFile file ) : System
file ZipFile The file.
Результат System

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

Initializes a new instance of the DiskArchiveStorage class.
public DiskArchiveStorage ( ZipFile file, FileUpdateMode updateMode ) : System
file ZipFile The file.
updateMode FileUpdateMode The update mode.
Результат System

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

Disposes this instance.
public Dispose ( ) : void
Результат void

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

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

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

Gets a temporary output Stream for performing updates on.
public GetTemporaryOutput ( ) : Stream
Результат Stream

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

Make a temporary copy of a stream.
public MakeTemporaryCopy ( Stream stream ) : Stream
stream Stream The to copy.
Результат Stream

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

Return a stream suitable for performing direct updates on the original source.
If the stream is not null this is used as is.
public OpenForDirectUpdate ( Stream stream ) : Stream
stream Stream The current stream.
Результат Stream