ArchiveCreatorInstruction Class |
Namespace: MicaSystems.Utils
public class ArchiveCreatorInstruction
The ArchiveCreatorInstruction type exposes the following members.
| Name | Description | |
|---|---|---|
| ArchiveCreatorInstruction(String, FileInfo) |
Creates an instruction.
| |
| ArchiveCreatorInstruction(String, Byte, String) |
Creates an instruction.
|
| Name | Description | |
|---|---|---|
| ArchiveRelativeFilePath |
Gets the file target path in the archive.
| |
| ArchiveRelativeFolderPath |
Gets or sets the folder path in the archive where the file should be added.
| |
| File |
Gets or sets the location of the source file.
| |
| FileContent |
Gets or sets the content of the file to add in the archive.
| |
| FileName |
Gets or sets the file name.
Only relevant when a FileContent is specified and not a File (info).
|
| Name | Description | |
|---|---|---|
| Execute(ZipPackage, Boolean) |
Executes this instruction, adds the file specified in this instruction to its relative path in the archive.
| |
| Execute(ZipPackage, CompressionOption) |
Executes this instruction, adds the file specified in this instruction to its relative path in the archive.
| |
| 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.) |