Method WithProtocol
- Namespace
- Skyline.AppInstaller
- Assembly
- Skyline.DataMiner.Core.AppPackageCreator.dll
WithProtocol(IAppPackageProtocol)
Adds the specified protocol to the package.
public IAppPackageBuilder WithProtocol(IAppPackageProtocol protocol)
Parameters
protocolIAppPackageProtocolThe protocol to add to the package.
Returns
- IAppPackageBuilder
A reference to this instance after this operation has completed.
WithProtocol(IAppPackageProtocol, bool, bool)
Adds the specified protocol to the application package.
public IAppPackageBuilder WithProtocol(IAppPackageProtocol protocol, bool setAsProduction, bool copyTemplates)
Parameters
protocolIAppPackageProtocolThe protocol to add.
setAsProductionbooltrueto set as production; otherwise,false.copyTemplatesbooltrueto copy templates; otherwise,false.
Returns
- IAppPackageBuilder
A reference to this instance after this operation has completed.
Exceptions
- ArgumentNullException
protocolis null.