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