2 instantiations of RuntimeSnapshot
Aspire.Hosting.Native.Core (2)
Runtime\RuntimeGeneration.cs (2)
657return new(_version, GenerationId, _resources.Values 1006private RuntimeSnapshot Snapshot() => new(_version, GenerationId, _resources.Values
15 references to RuntimeSnapshot
Aspire.Hosting.Native.Core (5)
Runtime\RuntimeGeneration.cs (5)
640public RuntimeSnapshot Read() 650internal RuntimeSnapshot ReadDependencies(Guid resourceId) 664public async Task<RuntimeSnapshot> WaitForChangeAsync(long version, int timeoutMilliseconds) 1006private RuntimeSnapshot Snapshot() => new(_version, GenerationId, _resources.Values 1088public RuntimeSnapshot ReadDependencies()
Aspire.Hosting.Native.Core.Tests (5)
RuntimeObservationTests.cs (5)
33var initial = consumerOwner.ReadDependencies(); 35var updated = consumerOwner.ReadDependencies(); 36var all = runtime.Read(); 53var dependencies = owner.ReadDependencies(); 54var all = runtime.Read();
Aspire.Hosting.Native.Server (5)
Api\RuntimeApi.cs (2)
320internal RuntimeSnapshot ReadNativeObservations() => runtime.Read(); 373internal static ApplicationObservations Copy(RuntimeSnapshot snapshot) => new()
Auxiliary\NativeAuxiliaryBackchannel.cs (1)
204var observation = observer?.ReadNativeObservations();
Cli\NativeCliProtocol.cs (1)
139RuntimeSnapshot snapshot;
Dashboard\NativeDashboardService.cs (1)
34RuntimeSnapshot? observations = null;