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