Class LanguagePackWriter
The LanguagePackWriter class.
Inherited Members
Namespace: DotNetNuke.Services.Installer.Writers
Assembly: DotNetNuke.dll
Syntax
public class LanguagePackWriter : PackageWriterBase
Constructors
| Improve this Doc View SourceLanguagePackWriter(PackageInfo)
Initializes a new instance of the LanguagePackWriter class.
Declaration
public LanguagePackWriter(PackageInfo package)
Parameters
| Type | Name | Description |
|---|---|---|
| PackageInfo | package |
LanguagePackWriter(Locale, PackageInfo)
Initializes a new instance of the LanguagePackWriter class.
Declaration
public LanguagePackWriter(Locale language, PackageInfo package)
Parameters
| Type | Name | Description |
|---|---|---|
| Locale | language | |
| PackageInfo | package |
LanguagePackWriter(XPathNavigator, InstallerInfo)
Initializes a new instance of the LanguagePackWriter class.
Declaration
public LanguagePackWriter(XPathNavigator manifestNav, InstallerInfo installer)
Parameters
| Type | Name | Description |
|---|---|---|
| XPathNavigator | manifestNav | |
| InstallerInfo | installer |
Properties
| Improve this Doc View SourceIncludeAssemblies
Gets a value indicating whether to include Assemblies.
Declaration
public override bool IncludeAssemblies { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Overrides
| Improve this Doc View SourceLanguage
Gets or sets the associated Language.
Declaration
public Locale Language { get; set; }
Property Value
| Type | Description |
|---|---|
| Locale | An Locale object. |
LanguagePack
Gets or sets the associated Language Pack.
Declaration
public LanguagePackInfo LanguagePack { get; set; }
Property Value
| Type | Description |
|---|---|
| LanguagePackInfo | An LanguagePackInfo object. |
Methods
| Improve this Doc View SourceGetFiles(Boolean, Boolean)
Gets the files to include in the package.
Declaration
protected override void GetFiles(bool includeSource, bool includeAppCode)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | includeSource | If true, will also include the source code files. |
| System.Boolean | includeAppCode | If true, files in the App_Code folder will also be included. |
Overrides
| Improve this Doc View SourceParseFiles(DirectoryInfo, String)
Parses the files in a folder.
Declaration
protected override void ParseFiles(DirectoryInfo folder, string rootPath)
Parameters
| Type | Name | Description |
|---|---|---|
| DirectoryInfo | folder | The folder to get the files from. |
| System.String | rootPath | The root path to use so the files are relative in the manifest. |
Overrides
| Improve this Doc View SourceWriteFilesToManifest(XmlWriter)
Writes the files to the manifest.
Declaration
protected override void WriteFilesToManifest(XmlWriter writer)
Parameters
| Type | Name | Description |
|---|---|---|
| XmlWriter | writer | The XML writer to use. |