17 references to Inspect
Aspire.Hosting.Native.Core.AotSmoke (1)
Program.cs (1)
50if (replacement.GenerationId == model.GenerationId || replacement.Inspect().Resources.Length != 0)
Aspire.Hosting.Native.Core.Tests (15)
ApplicationModelTests.cs (8)
32Assert.Equal(cache, Assert.Single(model.Inspect().Resources).Handle); 47Assert.Empty(model.Inspect().Resources); 59Assert.Single(model.Inspect().Resources); 76Assert.Single(model.Inspect().Resources); 131var before = model.Inspect(); 134var after = model.Inspect(); 152Assert.Same(snapshot, model.Inspect()); 208Assert.Throws<ObjectDisposedException>(model.Inspect);
ApplicationSessionTests.cs (4)
18Assert.Equal(cache, Assert.Single(model.Inspect().Resources).Handle); 35Assert.Equal(newCache, Assert.Single(next.Inspect().Resources).Handle); 49Assert.Equal(cache, Assert.Single(next.Inspect().Resources).Handle); 62Assert.Throws<ObjectDisposedException>(model.Inspect);
MilestoneDependencyTests.cs (1)
27WorkloadExecutionPlan.Validate(composition.Model.Inspect().Resources, allocationBeforeStart: true);
NativeModelAlignmentTests.cs (1)
95Assert.Empty(composition.Model.Inspect().SecretParameters);
SymbolicValueTests.cs (1)
187var resource = initial.Inspect().Resources.Single().Handle;
Aspire.Hosting.Native.Server (1)
Api\CompositionApi.cs (1)
229public CompositionSnapshot Inspect() => Copy(Model.Inspect());