6 writes to _currentState
Aspire.Hosting (6)
Pipelines\Internal\FileDeploymentStateManager.cs (6)
238
_currentState
= await LoadStateFileAsync(currentStatePath, cancellationToken).ConfigureAwait(false);
332
_currentState
= JsonFlattener.UnflattenJsonObject(JsonFlattener.FlattenJsonObject(state));
344
_currentState
= await LoadStateFileAsync(deploymentStatePath, cancellationToken).ConfigureAwait(false);
393
_currentState
= [];
414
_currentState
= [];
707
_currentState
= migrationState.CurrentState;
11 references to _currentState
Aspire.Hosting (11)
Pipelines\Internal\FileDeploymentStateManager.cs (11)
264
return MergeState(GetLegacyFallbackState(),
_currentState
);
272
return TryGetNestedPropertyValue(
_currentState
, sectionName);
280
return TryGetNestedPropertyValue(
_currentState
, sectionName);
292
var currentValueExists = NestedPropertyExists(
_currentState
, claimedSectionName);
296
currentValueExists ? TryGetNestedPropertyValue(
_currentState
, claimedSectionName)?.DeepClone() : null,
348
var latestEffectiveState = MergeState(GetLegacyFallbackState(),
_currentState
);
349
ApplyClaimedSections(latestEffectiveState,
_currentState
, _claimedSectionNames);
358
SetNestedPropertyValue(
_currentState
, sectionName, null);
362
ApplyStateDelta(
_currentState
, sectionName, legacySectionData, desiredSectionData, _claimedSectionNames);
366
await WriteStateAsync(deploymentStatePath,
_currentState
, cancellationToken).ConfigureAwait(false);
786
_currentState
,