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
stringThe relative path inside the
.DmTest
folder where the content will be added.contentToAdd
stringThe path to the file or directory to add.
contentType
DmTestContentTypeSpecifies 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
orcontentToAdd
is null, empty, or consists only of white-space characters.