Constructor AppPackageAutomationScriptBuilder
- Namespace
- Skyline.AppInstaller
- Assembly
- Skyline.DataMiner.Core.AppPackageCreator.dll
AppPackageAutomationScriptBuilder(string, string, string)
Initializes a new instance of the AppPackageAutomationScript.AppPackageAutomationScriptBuilder class.
public AppPackageAutomationScriptBuilder(string name, string version, string scriptFilePath)
Parameters
name
stringThe name of the Automation script.
version
stringThe version of the Automation script.
scriptFilePath
stringThe file path of the Automation script.
Exceptions
- ArgumentNullException
name
,version
orscriptFilePath
is null.- ArgumentException
name
,version
orscriptFilePath
is empty or white space or the file does not exist.
AppPackageAutomationScriptBuilder(string, string, byte[])
Initializes a new instance of the AppPackageAutomationScript.AppPackageAutomationScriptBuilder class.
public AppPackageAutomationScriptBuilder(string name, string version, byte[] scriptContent)
Parameters
name
stringThe name of the Automation script.
version
stringThe version of the Automation script.
scriptContent
byte[]The file path of the Automation script.
Exceptions
- ArgumentNullException
name
,version
orscriptContent
is null.- ArgumentException
name
orversion
is empty or white space.