Constructor AppPackageBuilder
- Namespace
- Skyline.AppInstaller
- Assembly
- Skyline.DataMiner.Core.AppPackageCreator.dll
AppPackageBuilder(string, string, string, IAppPackageScript)
Initializes a new instance of the AppPackage.AppPackageBuilder class.
public AppPackageBuilder(string name, string version, string minimumRequiredDataMinerVersion, IAppPackageScript installationScript)
Parameters
name
stringThe name of the package.
version
stringThe version of the package.
minimumRequiredDataMinerVersion
stringThe minimum required DataMiner version.
installationScript
IAppPackageScriptThe installation script.
Exceptions
- ArgumentNullException
name
,version
,minimumRequiredDataMinerVersion
orinstallationScript
is null.- ArgumentException
minimumRequiredDataMinerVersion
is invalid.
AppPackageBuilder(string, string, string)
Initializes a new instance of the AppPackage.AppPackageBuilder class.
public AppPackageBuilder(string name, string version, string minimumRequiredDataMinerVersion)
Parameters
name
stringThe name of the package.
version
stringThe version of the package.
minimumRequiredDataMinerVersion
stringThe minimum required DataMiner version.
Remarks
This builder will use a default install script. To use a custom install script use the AppPackage.AppPackageBuilder constructor.
Exceptions
- ArgumentNullException
name
,version
,minimumRequiredDataMinerVersion
is null.- ArgumentException
minimumRequiredDataMinerVersion
is invalid.