Class FileComponentWriter
The FileComponentWriter class handles creating the manifest for File Component(s).
Inheritance
Namespace: DotNetNuke.Services.Installer.Writers
Assembly: DotNetNuke.dll
Syntax
public class FileComponentWriter : object
Constructors
| Improve this Doc View SourceFileComponentWriter(String, Dictionary<String, InstallFile>, PackageInfo)
Initializes a new instance of the FileComponentWriter class. Constructs the FileComponentWriter.
Declaration
public FileComponentWriter(string basePath, Dictionary<string, InstallFile> files, PackageInfo package)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | basePath | The Base Path for the files. |
| Dictionary<System.String, InstallFile> | files | A Dictionary of files. |
| PackageInfo | package | Package Info. |
Properties
| Improve this Doc View SourceCollectionNodeName
Gets the name of the Collection Node ("files").
Declaration
protected virtual string CollectionNodeName { get; }
Property Value
| Type | Description |
|---|---|
| System.String | A String. |
ComponentType
Gets the name of the Component Type ("File").
Declaration
protected virtual string ComponentType { get; }
Property Value
| Type | Description |
|---|---|
| System.String | A String. |
InstallOrder
The FileComponentWriter class handles creating the manifest for File Component(s).
Declaration
public int InstallOrder { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
ItemNodeName
Gets the name of the Item Node ("file").
Declaration
protected virtual string ItemNodeName { get; }
Property Value
| Type | Description |
|---|---|
| System.String | A String. |
Log
Gets the Logger.
Declaration
protected virtual Logger Log { get; }
Property Value
| Type | Description |
|---|---|
| Logger | A Logger. |
Package
Gets the Package.
Declaration
protected virtual PackageInfo Package { get; }
Property Value
| Type | Description |
|---|---|
| PackageInfo | A PackageInfo. |
UnInstallOrder
The FileComponentWriter class handles creating the manifest for File Component(s).
Declaration
public int UnInstallOrder { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Methods
| Improve this Doc View SourceWriteCustomManifest(XmlWriter)
The WriteCustomManifest method writes the custom manifest items (that subclasses of FileComponentWriter may need).
Declaration
protected virtual void WriteCustomManifest(XmlWriter writer)
Parameters
| Type | Name | Description |
|---|---|---|
| XmlWriter | writer | The Xmlwriter to use. |
WriteFileElement(XmlWriter, InstallFile)
The FileComponentWriter class handles creating the manifest for File Component(s).
Declaration
protected virtual void WriteFileElement(XmlWriter writer, InstallFile file)
Parameters
| Type | Name | Description |
|---|---|---|
| XmlWriter | writer | |
| InstallFile | file |
WriteManifest(XmlWriter)
The FileComponentWriter class handles creating the manifest for File Component(s).
Declaration
public virtual void WriteManifest(XmlWriter writer)
Parameters
| Type | Name | Description |
|---|---|---|
| XmlWriter | writer |