2 writes to _state
Aspire.Hosting (2)
Pipelines\Internal\DeploymentStateManagerBase.cs (2)
92
_state
= JsonFlattener.UnflattenJsonObject(flattenedState);
96
_state
= [];
11 references to _state
Aspire.Hosting (11)
Pipelines\Internal\DeploymentStateManagerBase.cs (11)
75
if (_isStateLoaded &&
_state
is not null)
77
return
_state
;
100
return
_state
;
149
var sectionData = TryGetNestedPropertyValue(
_state
, sectionName);
206
Debug.Assert(
_state
is not null);
213
SetNestedPropertyValue(
_state
, section.SectionName, section.Data.DeepClone().AsObject());
214
await SaveStateToStorageAsync(
_state
, cancellationToken).ConfigureAwait(false);
226
Debug.Assert(
_state
is not null);
233
SetNestedPropertyValue(
_state
, section.SectionName, null);
234
await SaveStateToStorageAsync(
_state
, cancellationToken).ConfigureAwait(false);
246
if (
_state
is null)