2 writes to _state
Aspire.Hosting (2)
Pipelines\Internal\DeploymentStateManagerBase.cs (2)
82
_state
= await LoadStateFromStorageAsync(cancellationToken).ConfigureAwait(false);
367
_state
= null;
11 references to _state
Aspire.Hosting (11)
Pipelines\Internal\DeploymentStateManagerBase.cs (11)
77
if (_isStateLoaded &&
_state
is not null)
79
return
_state
;
85
return
_state
;
190
var sectionData = GetSectionState(
_state
, sectionName, includeLegacyState);
248
Debug.Assert(
_state
is not null);
255
SetNestedPropertyValue(
_state
, section.SectionName, section.Data.DeepClone().AsObject());
256
await SaveStateToStorageAsync(
_state
, section.SectionName, section.OriginalData, cancellationToken).ConfigureAwait(false);
269
Debug.Assert(
_state
is not null);
276
SetNestedPropertyValue(
_state
, section.SectionName, null);
277
await SaveStateToStorageAsync(
_state
, section.SectionName, section.OriginalData, cancellationToken).ConfigureAwait(false);
290
if (
_state
is null)