Method WithConnectorScript
- Namespace
- Skyline.AppInstaller
- Assembly
- Skyline.DataMiner.Core.AppPackageCreator.dll
WithConnectorScript(string, Guid)
Adds the staged content of a connector script.
public IAppPackageProtocolBuilder WithConnectorScript(string stagedScriptDirectory, Guid scriptGuid)
Parameters
stagedScriptDirectorystringThe directory containing the staged connector script content.
scriptGuidGuidThe unique identifier of the connector script, matching its declaration in protocol.xml.
Returns
- IAppPackageProtocolBuilder
A reference to this instance after the operation has completed.
Exceptions
- ArgumentNullException
stagedScriptDirectoryis null.- ArgumentException
stagedScriptDirectoryis empty or white space.- DirectoryNotFoundException
The specified directory does not exist.
- InvalidOperationException
A connector script with this
scriptGuidhas already been added.