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)
77if (_isStateLoaded && _state is not null) 79return _state; 85return _state; 190var sectionData = GetSectionState(_state, sectionName, includeLegacyState); 248Debug.Assert(_state is not null); 255SetNestedPropertyValue(_state, section.SectionName, section.Data.DeepClone().AsObject()); 256await SaveStateToStorageAsync(_state, section.SectionName, section.OriginalData, cancellationToken).ConfigureAwait(false); 269Debug.Assert(_state is not null); 276SetNestedPropertyValue(_state, section.SectionName, null); 277await SaveStateToStorageAsync(_state, section.SectionName, section.OriginalData, cancellationToken).ConfigureAwait(false); 290if (_state is null)