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
protocol
IAppPackageProtocolThe 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
protocol
IAppPackageProtocolThe protocol to add.
setAsProduction
booltrue
to set as production; otherwise,false
.copyTemplates
booltrue
to copy templates; otherwise,false
.
Returns
- IAppPackageBuilder
A reference to this instance after this operation has completed.
Exceptions
- ArgumentNullException
protocol
is null.