Table of Contents

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 string

The name of the package.

version string

The version of the package.

minimumRequiredDataMinerVersion string

The minimum required DataMiner version.

installationScript IAppPackageScript

The installation script.

Exceptions

ArgumentNullException

name, version, minimumRequiredDataMinerVersion or installationScript 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 string

The name of the package.

version string

The version of the package.

minimumRequiredDataMinerVersion string

The 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.