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)
264return MergeState(GetLegacyFallbackState(), _currentState); 272return TryGetNestedPropertyValue(_currentState, sectionName); 280return TryGetNestedPropertyValue(_currentState, sectionName); 292var currentValueExists = NestedPropertyExists(_currentState, claimedSectionName); 296currentValueExists ? TryGetNestedPropertyValue(_currentState, claimedSectionName)?.DeepClone() : null, 348var latestEffectiveState = MergeState(GetLegacyFallbackState(), _currentState); 349ApplyClaimedSections(latestEffectiveState, _currentState, _claimedSectionNames); 358SetNestedPropertyValue(_currentState, sectionName, null); 362ApplyStateDelta(_currentState, sectionName, legacySectionData, desiredSectionData, _claimedSectionNames); 366await WriteStateAsync(deploymentStatePath, _currentState, cancellationToken).ConfigureAwait(false); 786_currentState,