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 radiobuttonlist by its <xref href="System.Object.ToString" data-throw-if-not-resolved="false"></xref> counterpart.
public void AddOption(T value)
Parameters
value
TValue to be added as an option to the radiobuttonlist.