ArchiveCreator Class |
Namespace: MicaSystems.Utils
public class ArchiveCreator
The ArchiveCreator type exposes the following members.
| Name | Description | |
|---|---|---|
| ArchiveCreator(ListFileInfo) |
Creates an archive creator.
| |
| ArchiveCreator(String) |
Creates an archive creator.
| |
| ArchiveCreator(ArchiveEvent) |
Creates an archive creator.
|
| Name | Description | |
|---|---|---|
| FileArchived |
Method to call when a file have been processed.
| |
| InstructionsFiles |
Gets list of files currently registered in instructions.
|
| Name | Description | |
|---|---|---|
| AddFile(FileInfo) |
Adds a file to include in the archive.
| |
| AddFile(String) |
Adds a file to include in the archive.
| |
| AddFileInstruction(FileInfo, String) |
Adds a file to include in the archive, under a custom relative path.
| |
| AddFileInstruction(String, String) |
Adds a file to include in the archive, under a custom relative path.
| |
| AddFileInstruction(Byte, String, String) |
Adds a file to include in the archive, under a custom relative path.
| |
| CreateArchive(FileInfo, Boolean, String, String) |
Creates an .zip archive with all choosen files to the specified path.
| |
| CreateArchive(FileInfo, CompressionOption, String, String) |
Creates an .zip archive with all choosen files to the specified path.
| |
| CreateArchive(String, Boolean, String, String) |
Creates an .zip archive with all choosen files to the specified path.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| AsT |
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.) | |
| EqualsAll |
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.) | |
| EqualsAny |
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.) | |
| GetString |
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.) | |
| IsGenericList | Overloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.) | |
| IsGenericList(Type) | Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.) | |
| Serialize | Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.) | |
| Serialize(String) | Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.) | |
| SerializeJson | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) | |
| SerializeJson(ListType) | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) | |
| SerializeJson(DataContractJsonSerializerSettings) | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) |