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
namestringThe name of the Automation script.
versionstringThe version of the Automation script.
scriptFilePathstringThe file path of the Automation script.
Exceptions
- ArgumentNullException
name,versionorscriptFilePathis null.- ArgumentException
name,versionorscriptFilePathis 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
namestringThe name of the Automation script.
versionstringThe version of the Automation script.
scriptContentbyte[]The file path of the Automation script.
Exceptions
- ArgumentNullException
name,versionorscriptContentis null.- ArgumentException
nameorversionis empty or white space.