Method WithProtocol
- Namespace
- Skyline.AppInstaller
- Assembly
- Skyline.DataMiner.Core.AppPackageCreator.dll
WithProtocol(IAppPackageProtocol)
Adds a protocol to the package.
IAppPackageBuilder WithProtocol(IAppPackageProtocol protocol)
Parameters
protocolIAppPackageProtocolProtocol.
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
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.