Table of Contents

Interface IOptionWidget<T>

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

Defines a generic widget that manages a list of typed options.

public interface IOptionWidget<T>

Type Parameters

T

The type of the value associated with each option.

Extension Methods

Properties

Options

Gets or sets the collection of available options as Option<T> objects.

Values

Gets or sets the collection of available values of type T.

Methods

AddOption(Option<T>)

Adds a new option to the list of available options.

AddOption(T)

Adds a new value to the list of available options.

RemoveOption(Option<T>)

Removes the specified option from the list of available options.

RemoveOption(T)

Removes all options representing the specified value from the list of available options.

SetOptions(IEnumerable<Option<T>>)

Replaces the current list of options with the specified collection of Option<T> objects.

SetOptions(IEnumerable<T>)

Replaces the current list of options with the specified collection of values of type T.