Table of Contents

Method WithZip

Namespace
Skyline.AppInstaller
Assembly
Skyline.DataMiner.Core.AppPackageCreator.dll

WithZip(string, ZipType)

Adds a ZIP export to the application package builder with the specified file path and zip type.

public IAppPackageBuilder WithZip(string pathToExportedZip, ZipType type)

Parameters

pathToExportedZip string

The full path to the exported ZIP file.

type ZipType

Defines what the ZIP file represents and how it should be installed.

Returns

IAppPackageBuilder

The current instance of IAppPackageBuilder for method chaining.

Exceptions

ArgumentException

Thrown when the provided file path is null, empty, whitespace, does not exist, does not have a .zip extension, or when an invalid ZipType is provided.