• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class ScriptComponentWriter

The ScriptComponentWriter class handles creating the manifest for Script Component(s).

Inheritance
System.Object
FileComponentWriter
ScriptComponentWriter
Inherited Members
FileComponentWriter.InstallOrder
FileComponentWriter.UnInstallOrder
FileComponentWriter.Log
FileComponentWriter.Package
FileComponentWriter.WriteManifest(XmlWriter)
FileComponentWriter.WriteCustomManifest(XmlWriter)
Namespace: DotNetNuke.Services.Installer.Writers
Assembly: DotNetNuke.dll
Syntax
public class ScriptComponentWriter : FileComponentWriter

Constructors

| Improve this Doc View Source

ScriptComponentWriter(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 Source

CollectionNodeName

Gets the name of the Collection Node ("scripts").

Declaration
protected override string CollectionNodeName { get; }
Property Value
Type Description
System.String

A String.

Overrides
FileComponentWriter.CollectionNodeName
| Improve this Doc View Source

ComponentType

Gets the name of the Component Type ("Script").

Declaration
protected override string ComponentType { get; }
Property Value
Type Description
System.String

A String.

Overrides
FileComponentWriter.ComponentType
| Improve this Doc View Source

ItemNodeName

Gets the name of the Item Node ("script").

Declaration
protected override string ItemNodeName { get; }
Property Value
Type Description
System.String

A String.

Overrides
FileComponentWriter.ItemNodeName

Methods

| Improve this Doc View Source

WriteFileElement(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
Overrides
FileComponentWriter.WriteFileElement(XmlWriter, InstallFile)

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS