Class BaseArchiveStorage
An abstract IArchiveStorage suitable for extension by inheritance.
Implements
Inherited Members
Namespace: ICSharpCode.SharpZipLib.Zip
Assembly: ICSharpCode.SharpZipLib.dll
Syntax
public abstract class BaseArchiveStorage : IArchiveStorage
Constructors
| Improve this Doc View SourceBaseArchiveStorage(FileUpdateMode)
Initializes a new instance of the BaseArchiveStorage class.
Declaration
protected BaseArchiveStorage(FileUpdateMode updateMode)
Parameters
Type | Name | Description |
---|---|---|
FileUpdateMode | updateMode | The update mode. |
Properties
| Improve this Doc View SourceUpdateMode
Gets the update mode applicable.
Declaration
public FileUpdateMode UpdateMode { get; }
Property Value
Type | Description |
---|---|
FileUpdateMode | The update mode. |
Methods
| Improve this Doc View SourceConvertTemporaryToFinal()
Converts the temporary System.IO.Stream to its final form.
Declaration
public abstract Stream ConvertTemporaryToFinal()
Returns
Type | Description |
---|---|
System.IO.Stream | Returns a System.IO.Stream that can be used to read the final storage for the archive. |
See Also
| Improve this Doc View SourceDispose()
Disposes this instance.
Declaration
public abstract void Dispose()
GetTemporaryOutput()
Gets a temporary output System.IO.Stream
Declaration
public abstract Stream GetTemporaryOutput()
Returns
Type | Description |
---|---|
System.IO.Stream | Returns the temporary output stream. |
See Also
| Improve this Doc View SourceMakeTemporaryCopy(Stream)
Make a temporary copy of a System.IO.Stream.
Declaration
public abstract Stream MakeTemporaryCopy(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | The System.IO.Stream to make a copy of. |
Returns
Type | Description |
---|---|
System.IO.Stream | Returns a temporary output System.IO.Stream that is a copy of the input. |
OpenForDirectUpdate(Stream)
Return a stream suitable for performing direct updates on the original source.
Declaration
public abstract Stream OpenForDirectUpdate(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | The System.IO.Stream to open for direct update. |
Returns
Type | Description |
---|---|
System.IO.Stream | Returns a stream suitable for direct updating. |