Table of Contents

Method AddOption

Namespace
Skyline.DataMiner.Utils.InteractiveAutomationScript
Assembly
Skyline.DataMiner.Utils.InteractiveAutomationScriptToolkit.dll

AddOption(Option<T>)

Adds a new option to the list of available options.

public void AddOption(Option<T> option)

Parameters

option Option<T>

The option to add as an Option<T>.

Exceptions

ArgumentNullException

When option is null.

AddOption(T)

Adds a new value to the list of available options.

This value is represented in the dropdown by its ToString() counterpart.

public void AddOption(T value)

Parameters

value T

Value to be added as an option to the dropdown.