Click or drag to resize

ZipFileProjectArchiveManager Class

Manages the permanent storage of projects into Zip files, including cloning to, and maintaining a safety copy. This manager uses Zip files zipped with the framework provided Zip routines. As such, no progressive storage is supported (and no deferred loading).
Inheritance Hierarchy
SystemObject
  Altaxo.Main.ServicesZipFileProjectArchiveManagerBase
    Altaxo.Main.ServicesZipFileProjectArchiveManager

Namespace: Altaxo.Main.Services
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public class ZipFileProjectArchiveManager : ZipFileProjectArchiveManagerBase

The ZipFileProjectArchiveManager type exposes the following members.

Constructors
 NameDescription
Public methodZipFileProjectArchiveManagerInitializes a new instance of the ZipFileProjectArchiveManager class
Top
Properties
 NameDescription
Protected propertyCreateProjectArchive Creates a new project archive. Here, a function returning a wrapper using the ZipArchiveAxo class is returned, which supports progressive storage.
(Overrides ZipFileProjectArchiveManagerBaseCreateProjectArchive)
Public propertyFileOrFolderName Gets the name of the file or folder. Can be null if no file or folder is set (up to now).
(Inherited from ZipFileProjectArchiveManagerBase)
Public propertyIsDisposed Gets a value indicating whether this instance is disposed.
(Inherited from ZipFileProjectArchiveManagerBase)
Top
Methods
 NameDescription
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from ZipFileProjectArchiveManagerBase)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetArchiveReadOnlyThreadSave Gets an archive, for read-only purposes only. The call to this function should be thread-safe. It is required to call ReleaseArchiveThreadSave(Object, IProjectArchive) to release the returned archive if it is no longer in use.
(Inherited from ZipFileProjectArchiveManagerBase)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodLoadFromFile Loads a project from a file.
(Inherited from ZipFileProjectArchiveManagerBase)
Protected methodLoadFromFileStreamReadonly Loads a project from a file stream in read-only mode. For that, it is tried to make a copy of the file stream, and then use the copy to read the project from.
(Inherited from ZipFileProjectArchiveManagerBase)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodReleaseArchiveThreadSave Releases the archive that was claimed with GetArchiveReadOnlyThreadSave(Object).
(Inherited from ZipFileProjectArchiveManagerBase)
Public methodSave Saves the specified save project and windows state to the same file or folder that was used to open the project.
(Inherited from ZipFileProjectArchiveManagerBase)
Public methodSaveAs Saves the project with a name given in destinationFileName. The name can or can not be the same name as was used before.
(Inherited from ZipFileProjectArchiveManagerBase)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
Fields
 NameDescription
Protected field_storageSettings
(Inherited from ZipFileProjectArchiveManagerBase)
Top
See Also