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