2 writes to _options
Aspire.Dashboard (2)
Components\Controls\ResourceTagEditor.razor.cs (2)
115
_options
= [];
138
_options
= options;
7 references to _options
Aspire.Dashboard (7)
Components\Controls\ResourceTagEditor.razor.cs (7)
142
_activeIndex = text is null ||
_options
.Count == 0 ? -1 : 0;
149
case "ArrowDown" when
_options
.Count > 0:
150
_activeIndex = (_activeIndex + 1) %
_options
.Count;
152
case "ArrowUp" when
_options
.Count > 0:
153
_activeIndex = _activeIndex <= 0 ?
_options
.Count - 1 : _activeIndex - 1;
156
if (_activeIndex >= 0 && _activeIndex <
_options
.Count)
158
AddTag(
_options
[_activeIndex].Tag);