Table of Contents

Method WithDmTestContent

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

WithDmTestContent(string, string, DmTestContentType)

Adds a file or directory to the .DmTest folder inside the package.
The .DmTest folder is included in the package but not installed on the target system.

public IAppPackageBuilder WithDmTestContent(string relativePathInDmTestFolder, string contentToAdd, DmTestContentType contentType)

Parameters

relativePathInDmTestFolder string

The relative path inside the .DmTest folder where the content will be added.

contentToAdd string

The path to the file or directory to add.

contentType DmTestContentType

Specifies whether the content is a file path, directory path, or raw text.

Returns

IAppPackageBuilder

The current instance of IAppPackageBuilder for method chaining.

Exceptions

ArgumentException

Thrown when relativePathInDmTestFolder or contentToAdd is null, empty, or consists only of white-space characters.