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