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

Наследование: BaseArchiveStorage
Показать файл Открыть проект

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

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

Converts the temporary Stream to its final form.

Dispose ( ) : void

Disposes this instance.

GetTemporaryOutput ( ) : Stream

Gets the temporary output Stream

MakeTemporaryCopy ( Stream stream ) : Stream

Make a temporary copy of the original stream.

MemoryArchiveStorage ( ) : System

Initializes a new instance of the MemoryArchiveStorage class.

MemoryArchiveStorage ( FileUpdateMode updateMode ) : System

Initializes a new instance of the MemoryArchiveStorage class.

This constructor is for testing as memory streams dont really require safe mode.

OpenForDirectUpdate ( Stream stream ) : Stream

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

If the stream passed is not null this is used; otherwise a new MemoryStream is returned.

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

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

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

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

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

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

Gets the temporary output Stream
public GetTemporaryOutput ( ) : Stream
Результат Stream

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

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

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

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

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

Initializes a new instance of the MemoryArchiveStorage class.
This constructor is for testing as memory streams dont really require safe mode.
public MemoryArchiveStorage ( FileUpdateMode updateMode ) : System
updateMode FileUpdateMode The to use
Результат System

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

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