2 instantiations of NativeLanguageCatalog
Aspire.Hosting.Native.Core.Tests (2)
NativeLanguageCatalogTests.cs (2)
21var catalog = new NativeLanguageCatalog(registrations, 39var catalog = new NativeLanguageCatalog(registrations, _ => new());
22 references to NativeLanguageCatalog
Aspire.Hosting.Native.Core.Tests (6)
NativeCliControlTests.cs (3)
22using var client = new RpcTestClient(server, NativeLanguageCatalog.LoadEmbedded()); 26var assembly = typeof(NativeLanguageCatalog).Assembly; 70using var client = new RpcTestClient(server, NativeLanguageCatalog.LoadEmbedded());
NativeLanguageCatalogTests.cs (2)
21var catalog = new NativeLanguageCatalog(registrations, 39var catalog = new NativeLanguageCatalog(registrations, _ => new());
TestServices\RpcTestClient.cs (1)
31public RpcTestClient(NativeApplicationServer server, NativeLanguageCatalog languages)
Aspire.Hosting.Native.Server (16)
NativeServerHostedService.cs (1)
107NativeLanguageCatalog.LoadEmbedded(settings.GeneratedSdkDirectory), options);
Rpc\NativeLanguageCatalog.cs (4)
39public static NativeLanguageCatalog LoadEmbedded() 42public static NativeLanguageCatalog LoadEmbedded(string? generatedSdkDirectory) 44var assembly = typeof(NativeLanguageCatalog).Assembly; 50var catalog = new NativeLanguageCatalog(languages, prefix =>
Rpc\NativeRpcConnection.cs (7)
30private readonly NativeLanguageCatalog? _languages; 231public NativeRpcConnection(string token, NativeApplicationServer server, NativeLanguageCatalog? languages) 236private NativeRpcConnection(string token, NativeApplicationServer server, bool ownsServer, NativeLanguageCatalog? languages) 241public NativeRpcConnection(string token, NativeApplicationServer server, NativeLanguageCatalog? languages, NativeServerOptions options) 246public NativeRpcConnection(string token, NativeApplicationServer server, NativeLanguageCatalog? languages, NativeServerOptions options, 252private NativeRpcConnection(string token, NativeApplicationServer server, bool ownsServer, NativeLanguageCatalog? languages, 257private NativeRpcConnection(string token, NativeApplicationServer server, bool ownsServer, NativeLanguageCatalog? languages,
Rpc\NativeRpcListener.cs (4)
24private readonly NativeLanguageCatalog? _languages; 46NativeLanguageCatalog? languages) 52NativeLanguageCatalog? languages, NativeServerOptions options) 59NativeLanguageCatalog? languages, NativeServerOptions options, INativeRpcPeerFactory peers, INativeProviderRegistry providers)