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