Class InstallerFactory
The InstallerFactory is a factory class that is used to instantiate the appropriate Component Installer.
Inheritance
System.Object
InstallerFactory
Namespace: DotNetNuke.Services.Installer.Installers
Assembly: DotNetNuke.dll
Syntax
public class InstallerFactory : object
Methods
| Improve this Doc View SourceGetInstaller(String)
The GetInstaller method instantiates the relevant Component Installer.
Declaration
public static ComponentInstallerBase GetInstaller(string installerType)
Parameters
Type | Name | Description |
---|---|---|
System.String | installerType | The type of Installer. |
Returns
Type | Description |
---|---|
ComponentInstallerBase | A ComponentInstallerBase instance or null. |
GetInstaller(XPathNavigator, PackageInfo)
The GetInstaller method instantiates the relevant Component Installer.
Declaration
public static ComponentInstallerBase GetInstaller(XPathNavigator manifestNav, PackageInfo package)
Parameters
Type | Name | Description |
---|---|---|
XPathNavigator | manifestNav | The manifest (XPathNavigator) for the component. |
PackageInfo | package | The associated PackageInfo instance. |
Returns
Type | Description |
---|---|
ComponentInstallerBase | A ComponentInstallerBase instance or null. |