Class LanguageInstaller
The LanguageInstaller installs Language Packs to a DotNetNuke site.
Inherited Members
Namespace: DotNetNuke.Services.Installer.Installers
Assembly: DotNetNuke.dll
Syntax
public class LanguageInstaller : FileInstaller
Constructors
| Improve this Doc View SourceLanguageInstaller(LanguagePackType)
Initializes a new instance of the LanguageInstaller class.
Declaration
public LanguageInstaller(LanguagePackType type)
Parameters
Type | Name | Description |
---|---|---|
LanguagePackType | type |
Properties
| Improve this Doc View SourceAllowableFiles
Gets a list of allowable file extensions (in addition to the Host's List).
Declaration
public override string AllowableFiles { get; }
Property Value
Type | Description |
---|---|
System.String | A String. |
Overrides
| 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 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 SourceCommit()
The Commit method finalises the Install and commits any pending changes.
Declaration
public override void Commit()
Overrides
Remarks
In the case of Modules this is not neccessary.
Install()
The Install method installs the language component.
Declaration
public override void Install()
Overrides
| Improve this Doc View SourceReadCustomManifest(XPathNavigator)
The ReadCustomManifest method reads the custom manifest items.
Declaration
protected override void ReadCustomManifest(XPathNavigator nav)
Parameters
Type | Name | Description |
---|---|---|
XPathNavigator | nav | The XPathNavigator representing the node. |
Overrides
| Improve this Doc View SourceRollback()
The Rollback method undoes the installation of the component in the event that one of the other components fails.
Declaration
public override void Rollback()
Overrides
| Improve this Doc View SourceUnInstall()
The UnInstall method uninstalls the language component.
Declaration
public override void UnInstall()