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
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
TValue to be added as an option to the dropdown.