6 writes to _currentState
Aspire.Hosting (6)
Pipelines\Internal\FileDeploymentStateManager.cs (6)
241
_currentState
= await LoadStateFileAsync(currentStatePath, cancellationToken).ConfigureAwait(false);
335
_currentState
= JsonFlattener.UnflattenJsonObject(JsonFlattener.FlattenJsonObject(state));
347
_currentState
= await LoadStateFileAsync(deploymentStatePath, cancellationToken).ConfigureAwait(false);
396
_currentState
= [];
417
_currentState
= [];
710
_currentState
= migrationState.CurrentState;
11 references to _currentState
Aspire.Hosting (11)
Pipelines\Internal\FileDeploymentStateManager.cs (11)
267
return MergeState(GetLegacyFallbackState(),
_currentState
);
275
return TryGetNestedPropertyValue(
_currentState
, sectionName);
283
return TryGetNestedPropertyValue(
_currentState
, sectionName);
295
var currentValueExists = NestedPropertyExists(
_currentState
, claimedSectionName);
299
currentValueExists ? TryGetNestedPropertyValue(
_currentState
, claimedSectionName)?.DeepClone() : null,
351
var latestEffectiveState = MergeState(GetLegacyFallbackState(),
_currentState
);
352
ApplyClaimedSections(latestEffectiveState,
_currentState
, _claimedSectionNames);
361
SetNestedPropertyValue(
_currentState
, sectionName, null);
365
ApplyStateDelta(
_currentState
, sectionName, legacySectionData, desiredSectionData, _claimedSectionNames);
369
await WriteStateAsync(deploymentStatePath,
_currentState
, cancellationToken).ConfigureAwait(false);
789
_currentState
,