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; 149case "ArrowDown" when _options.Count > 0: 150_activeIndex = (_activeIndex + 1) % _options.Count; 152case "ArrowUp" when _options.Count > 0: 153_activeIndex = _activeIndex <= 0 ? _options.Count - 1 : _activeIndex - 1; 156if (_activeIndex >= 0 && _activeIndex < _options.Count) 158AddTag(_options[_activeIndex].Tag);