3 writes to _state
Aspire.Dashboard (3)
ServiceClient\DashboardClient.cs (3)
119_state = StateDisabled; 324var priorState = Interlocked.CompareExchange(ref _state, value: StateInitialized, comparand: StateNone); 1159if (Interlocked.Exchange(ref _state, StateDisposed) is not StateDisposed)
2 references to _state
Aspire.Dashboard (2)
ServiceClient\DashboardClient.cs (2)
256public bool IsEnabled => _state is not StateDisabled; 264if (_state is StateDisabled or StateDisposed)