Contact us

Applies to: Customer's Canvas On-Premises; Design Atoms .NET 7.4

Skip to main content

Class ZipArchive

Namespace: Aurigma.DesignAtoms.Storage

Assembly: Aurigma.DesignAtoms.dll

Syntax
public class ZipArchive : BaseArchive, IDisposable

Inheritance: System.Object -> Aurigma.DesignAtoms.Storage.BaseArchive -> ZipArchive

Implements​

  • Aurigma.DesignAtoms.Cache.Abstractions.Interfaces.ISerializableStorage
  • System.IDisposable

Inherited Members​

Constructors​

ZipArchive​

public ZipArchive(Stream zipStream, FileMode mode, FileAccess access)

Methods​

AddFileWithId​

public override void AddFileWithId(string fileId, Stream fileData, bool isSource = false)

Parameters​

TypeNameDescription
System.StringfileId
System.IO.StreamfileData
System.BooleanisSource

Overrides​

GetReadStream​

public override Stream GetReadStream(string fileId, bool isSource = false)

Parameters​

TypeNameDescription
System.StringfileId
System.BooleanisSource

Returns​

System.IO.Stream

Overrides​

FileExists​

public override bool FileExists(string fileId)

Parameters​

TypeNameDescription
System.StringfileId

Returns​

System.Boolean

Overrides​

WriteToStream​

public override void WriteToStream(string fileId, Action<Stream> action)

Parameters​

TypeNameDescription
System.StringfileId
System.Action<System.IO.Stream>action

Overrides​

GetFileList​

public override string[] GetFileList()

Returns​

System.String[]

Overrides​

UpdateLastAccessTime​

public override void UpdateLastAccessTime(string fileId)

Parameters​

TypeNameDescription
System.StringfileId

Overrides​

Dispose​

public override void Dispose()

Overrides​

Fields​

Compression​

public CompressionOption Compression
Was this page helpful?