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
relativePathInDmTestFolderstringThe relative path inside the
.DmTestfolder where the content will be added.contentToAddstringThe path to the file or directory to add.
contentTypeDmTestContentTypeSpecifies 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
relativePathInDmTestFolderorcontentToAddis null, empty, or consists only of white-space characters.