Table of Contents

Method WithOnCreateScript

Namespace
Skyline.DataMiner.Utils.DOM.Builders
Assembly
Skyline.DataMiner.Utils.DOM.dll

WithOnCreateScript(string)

Sets the script to be executed when a DOM instance is created.

public T WithOnCreateScript(string scriptName)

Parameters

scriptName string

The name of the script to execute on creation, or an empty string to not execute a script.

Returns

T

The builder instance for chaining.

Exceptions

ArgumentNullException

Thrown when scriptName is null.