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)
267return MergeState(GetLegacyFallbackState(), _currentState); 275return TryGetNestedPropertyValue(_currentState, sectionName); 283return TryGetNestedPropertyValue(_currentState, sectionName); 295var currentValueExists = NestedPropertyExists(_currentState, claimedSectionName); 299currentValueExists ? TryGetNestedPropertyValue(_currentState, claimedSectionName)?.DeepClone() : null, 351var latestEffectiveState = MergeState(GetLegacyFallbackState(), _currentState); 352ApplyClaimedSections(latestEffectiveState, _currentState, _claimedSectionNames); 361SetNestedPropertyValue(_currentState, sectionName, null); 365ApplyStateDelta(_currentState, sectionName, legacySectionData, desiredSectionData, _claimedSectionNames); 369await WriteStateAsync(deploymentStatePath, _currentState, cancellationToken).ConfigureAwait(false); 789_currentState,