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

Class FileComponentWriter

The FileComponentWriter class handles creating the manifest for File Component(s).

Inheritance
System.Object
FileComponentWriter
AssemblyComponentWriter
LanguageComponentWriter
ResourceFileComponentWriter
ScriptComponentWriter
SkinComponentWriter
WidgetComponentWriter
Namespace: DotNetNuke.Services.Installer.Writers
Assembly: DotNetNuke.dll
Syntax
public class FileComponentWriter : object

Constructors

| Improve this Doc View Source

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

CollectionNodeName

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

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

A String.

| Improve this Doc View Source

ComponentType

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

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

A String.

| Improve this Doc View Source

InstallOrder

The FileComponentWriter class handles creating the manifest for File Component(s).

Declaration
public int InstallOrder { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

ItemNodeName

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

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

A String.

| Improve this Doc View Source

Log

Gets the Logger.

Declaration
protected virtual Logger Log { get; }
Property Value
Type Description
Logger

A Logger.

| Improve this Doc View Source

Package

Gets the Package.

Declaration
protected virtual PackageInfo Package { get; }
Property Value
Type Description
PackageInfo

A PackageInfo.

| Improve this Doc View Source

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 Source

WriteCustomManifest(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.

| Improve this Doc View Source

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
| Improve this Doc View Source

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

Extension Methods

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