2 writes to _state
Aspire.Hosting (2)
Pipelines\Internal\DeploymentStateManagerBase.cs (2)
84
_state
= await LoadStateFromStorageAsync(cancellationToken).ConfigureAwait(false);
369
_state
= null;
11 references to _state
Aspire.Hosting (11)
Pipelines\Internal\DeploymentStateManagerBase.cs (11)
79
if (_isStateLoaded &&
_state
is not null)
81
return
_state
;
87
return
_state
;
192
var sectionData = GetSectionState(
_state
, sectionName, includeLegacyState);
250
Debug.Assert(
_state
is not null);
257
SetNestedPropertyValue(
_state
, section.SectionName, section.Data.DeepClone().AsObject());
258
await SaveStateToStorageAsync(
_state
, section.SectionName, section.OriginalData, cancellationToken).ConfigureAwait(false);
271
Debug.Assert(
_state
is not null);
278
SetNestedPropertyValue(
_state
, section.SectionName, null);
279
await SaveStateToStorageAsync(
_state
, section.SectionName, section.OriginalData, cancellationToken).ConfigureAwait(false);
292
if (
_state
is null)