6 references to WithComputeEnvironment
Aspire.Hosting.Native.Core.Tests (5)
NativeModelAlignmentTests.cs (5)
24
workload.
WithComputeEnvironment
(first);
25
workload.
WithComputeEnvironment
(second);
50
Assert.Throws<ArgumentException>(() => api.
WithComputeEnvironment
(environment));
51
Assert.Throws<ArgumentException>(() => api.
WithComputeEnvironment
(invalid));
52
Assert.Throws<ArgumentException>(() => api.
WithComputeEnvironment
(api));
Aspire.Hosting.Native.Server (1)
artifacts\obj\Aspire.Hosting.Native.Server\Debug\native-ats\NativeDispatch.g.cs (1)
660
target.
WithComputeEnvironment
(handles.Get<DeclaredResource>(arguments["environment"], "Aspire.Hosting.Native.Server/Aspire.Hosting.Native.Api.DeclaredResource"));