Class ScriptComponentWriter
The ScriptComponentWriter class handles creating the manifest for Script Component(s).
Inherited Members
Namespace: DotNetNuke.Services.Installer.Writers
Assembly: DotNetNuke.dll
Syntax
public class ScriptComponentWriter : FileComponentWriter
Constructors
| Improve this Doc View SourceScriptComponentWriter(String, Dictionary<String, InstallFile>, PackageInfo)
Initializes a new instance of the ScriptComponentWriter class.
Declaration
public ScriptComponentWriter(string basePath, Dictionary<string, InstallFile> scripts, PackageInfo package)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | basePath | |
| Dictionary<System.String, InstallFile> | scripts | |
| PackageInfo | package |
Properties
| Improve this Doc View SourceCollectionNodeName
Gets the name of the Collection Node ("scripts").
Declaration
protected override string CollectionNodeName { get; }
Property Value
| Type | Description |
|---|---|
| System.String | A String. |
Overrides
| Improve this Doc View SourceComponentType
Gets the name of the Component Type ("Script").
Declaration
protected override string ComponentType { get; }
Property Value
| Type | Description |
|---|---|
| System.String | A String. |
Overrides
| Improve this Doc View SourceItemNodeName
Gets the name of the Item Node ("script").
Declaration
protected override string ItemNodeName { get; }
Property Value
| Type | Description |
|---|---|
| System.String | A String. |
Overrides
Methods
| Improve this Doc View SourceWriteFileElement(XmlWriter, InstallFile)
The ScriptComponentWriter class handles creating the manifest for Script Component(s).
Declaration
protected override void WriteFileElement(XmlWriter writer, InstallFile file)
Parameters
| Type | Name | Description |
|---|---|---|
| XmlWriter | writer | |
| InstallFile | file |