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

Class LanguageComponentWriter

The LanguageComponentWriter class handles creating the manifest for Language Component(s).

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

Constructors

| Improve this Doc View Source

LanguageComponentWriter(LanguagePackInfo, String, Dictionary<String, InstallFile>, PackageInfo)

Initializes a new instance of the LanguageComponentWriter class. Constructs the LanguageComponentWriter.

Declaration
public LanguageComponentWriter(LanguagePackInfo languagePack, string basePath, Dictionary<string, InstallFile> files, PackageInfo package)
Parameters
Type Name Description
LanguagePackInfo languagePack

Language Package info.

System.String basePath

Base Path.

Dictionary<System.String, InstallFile> files

A Dictionary of files.

PackageInfo package

Package Info.

| Improve this Doc View Source

LanguageComponentWriter(Locale, String, Dictionary<String, InstallFile>, PackageInfo)

Initializes a new instance of the LanguageComponentWriter class. Constructs the LanguageComponentWriter.

Declaration
public LanguageComponentWriter(Locale language, string basePath, Dictionary<string, InstallFile> files, PackageInfo package)
Parameters
Type Name Description
Locale language

Language Info.

System.String basePath

Base Path.

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 ("languageFiles").

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 ("CoreLanguage/ExtensionLanguage").

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 ("languageFile").

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

A String.

Overrides
FileComponentWriter.ItemNodeName

Methods

| Improve this Doc View Source

WriteCustomManifest(XmlWriter)

The WriteCustomManifest method writes the custom manifest items.

Declaration
protected override void WriteCustomManifest(XmlWriter writer)
Parameters
Type Name Description
XmlWriter writer

The Xmlwriter to use.

Overrides
FileComponentWriter.WriteCustomManifest(XmlWriter)

Extension Methods

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