IOptions

References
public interface IOptions : IEnumerable<Option>
Base interface for Options which doesn't allow the addition of items.

Properties

Count

#
Gets the number of defined options.
int Count { get; }

Indexers

this[]

#
Gets the option and selected state at the given index.
(Option option, bool selected) this[
index
] { get; }

Methods

Deselect

#
Deselect the category with the given name.
bool Deselect(
name
Name of category to deselect.
)
True if the selection state was changed.

IsSelected

#
Gets whether the category with the given name is selected. If the category isn't defined, false is returned.
bool IsSelected(
name
)

Select

#
Select the category with the given name.
bool Select(
name
Name of category to select.
)
True if the selection state was changed.

ToArrays

#
Gets copies of the option and selection arrays.
void ToArrays(
out Option[]
options,
out bool[]
selected
)