2 writes to _state
Aspire.Hosting (2)
Pipelines\Internal\DeploymentStateManagerBase.cs (2)
92_state = JsonFlattener.UnflattenJsonObject(flattenedState); 96_state = [];
11 references to _state
Aspire.Hosting (11)
Pipelines\Internal\DeploymentStateManagerBase.cs (11)
75if (_isStateLoaded && _state is not null) 77return _state; 100return _state; 149var sectionData = TryGetNestedPropertyValue(_state, sectionName); 206Debug.Assert(_state is not null); 213SetNestedPropertyValue(_state, section.SectionName, section.Data.DeepClone().AsObject()); 214await SaveStateToStorageAsync(_state, cancellationToken).ConfigureAwait(false); 226Debug.Assert(_state is not null); 233SetNestedPropertyValue(_state, section.SectionName, null); 234await SaveStateToStorageAsync(_state, cancellationToken).ConfigureAwait(false); 246if (_state is null)