Method WithProtocol
- Namespace
- Skyline.AppInstaller
- Assembly
- Skyline.DataMiner.Core.AppPackageCreator.dll
WithProtocol(IAppPackageProtocol)
Adds a protocol to the package.
IAppPackageBuilder WithProtocol(IAppPackageProtocol protocol)
Parameters
protocol
IAppPackageProtocolProtocol.
Returns
- IAppPackageBuilder
Application package builder.
WithProtocol(IAppPackageProtocol, bool, bool)
Adds the specified protocol to the application package.
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.