4 references to RuntimeSpec
Aspire.Hosting.Native.Core.Tests (3)
NativeLanguageCatalogTests.cs (3)
23
var spec = catalog.
RuntimeSpec
("example/custom-runtime");
28
Assert.Equal("example/custom-runtime", catalog.
RuntimeSpec
("example/custom-runtime")["language"]!.GetValue<string>());
29
Assert.Throws<NotSupportedException>(() => catalog.
RuntimeSpec
("typescript/nodejs"));
Aspire.Hosting.Native.Server (1)
Rpc\NativeRpcConnection.Dispatch.cs (1)
76
? _languages.
RuntimeSpec
(RpcArguments.String(arguments[0]))