Table of Contents

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 IAppPackageProtocol

Protocol.

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 IAppPackageProtocol

The protocol to add.

setAsProduction bool

true to set as production; otherwise, false.

copyTemplates bool

true to copy templates; otherwise, false.

Returns

IAppPackageBuilder

A reference to this instance after this operation has completed.

Exceptions

ArgumentNullException

protocol is null.