Class LanguageComponentWriter
The LanguageComponentWriter class handles creating the manifest for Language Component(s).
Inherited Members
Namespace: DotNetNuke.Services.Installer.Writers
Assembly: DotNetNuke.dll
Syntax
public class LanguageComponentWriter : FileComponentWriter
Constructors
| Improve this Doc View SourceLanguageComponentWriter(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. |
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 SourceCollectionNodeName
Gets the name of the Collection Node ("languageFiles").
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 ("CoreLanguage/ExtensionLanguage").
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 ("languageFile").
Declaration
protected override string ItemNodeName { get; }
Property Value
| Type | Description |
|---|---|
| System.String | A String. |
Overrides
Methods
| Improve this Doc View SourceWriteCustomManifest(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. |