Class BaseArchive
Inheritance
System.Object
BaseArchive
Implements
System.IDisposable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Aurigma.DesignAtoms.dll
Syntax
public abstract class BaseArchive : ISerializableStorage, IDisposable
Constructors
BaseArchive()
Declaration
Methods
AddFileWithId(String, Stream, Boolean)
Declaration
public abstract void AddFileWithId(string fileId, Stream fileData, bool isSource = false)
Parameters
| Type |
Name |
Description |
| System.String |
fileId |
|
| System.IO.Stream |
fileData |
|
| System.Boolean |
isSource |
|
AddFileWithId(String, String, Boolean)
Declaration
public void AddFileWithId(string fileId, string filePath, bool isSource = false)
Parameters
| Type |
Name |
Description |
| System.String |
fileId |
|
| System.String |
filePath |
|
| System.Boolean |
isSource |
|
CreateArchive(Stream)
Declaration
public static BaseArchive CreateArchive(Stream stream)
Parameters
| Type |
Name |
Description |
| System.IO.Stream |
stream |
|
Returns
Dispose()
Declaration
public abstract void Dispose()
FileExists(String)
Declaration
public abstract bool FileExists(string fileId)
Parameters
| Type |
Name |
Description |
| System.String |
fileId |
|
Returns
| Type |
Description |
| System.Boolean |
|
GetFileList()
Declaration
public abstract string[] GetFileList()
Returns
| Type |
Description |
| System.String[] |
|
GetFileList(String)
Declaration
public string[] GetFileList(string path)
Parameters
| Type |
Name |
Description |
| System.String |
path |
|
Returns
| Type |
Description |
| System.String[] |
|
GetReadStream(String, Boolean)
Declaration
public abstract Stream GetReadStream(string fileId, bool isSource = false)
Parameters
| Type |
Name |
Description |
| System.String |
fileId |
|
| System.Boolean |
isSource |
|
Returns
| Type |
Description |
| System.IO.Stream |
|
UpdateLastAccessTime(String)
Declaration
public abstract void UpdateLastAccessTime(string fileId)
Parameters
| Type |
Name |
Description |
| System.String |
fileId |
|
WriteToStream(String, Action<Stream>)
Declaration
public abstract void WriteToStream(string fileId, Action<Stream> action)
Parameters
| Type |
Name |
Description |
| System.String |
fileId |
|
| System.Action<System.IO.Stream> |
action |
|
Implements
System.IDisposable