Implemented interface member:
property
Services
Microsoft.AspNetCore.SignalR.ISignalRBuilder.Services
1 write to Services
Microsoft.AspNetCore.SignalR.Client.Core (1)
HubConnectionBuilder.cs (1)
29Services = new ServiceCollection();
23 references to Services
Microsoft.AspNetCore.SignalR.Client.Core (3)
HubConnectionBuilder.cs (3)
30Services.AddSingleton<HubConnection>(); 31Services.AddLogging(); 47var serviceProvider = Services.BuildServiceProvider();
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (3)
HubConnectionTests.cs (3)
48hubConnectionBuilder.Services.AddSingleton(protocol); 64hubConnectionBuilder.Services.AddSingleton<IConnectionFactory>(delegateConnectionFactory); 67hubConnectionBuilder.Services.AddSingleton(activitySourceContainer);
Microsoft.AspNetCore.SignalR.Client.Tests (13)
HubConnectionBuilderExtensionsTests.cs (8)
25var serviceProvider = connectionBuilder.Services.BuildServiceProvider(); 38var serviceProvider = connectionBuilder.Services.BuildServiceProvider(); 52var serviceProvider = connectionBuilder.Services.BuildServiceProvider(); 68var serviceProvider = connectionBuilder.Services.BuildServiceProvider(); 83var serviceProvider = connectionBuilder.Services.BuildServiceProvider(); 94var serviceProvider = connectionBuilder.Services.BuildServiceProvider(); 106var serviceProvider = connectionBuilder.Services.BuildServiceProvider(); 119var serviceProvider = connectionBuilder.Services.BuildServiceProvider();
HubConnectionBuilderTests.cs (5)
30builder.Services.AddSingleton<IConnectionFactory>(new HttpConnectionFactory(Options.Create(new HttpConnectionOptions()), NullLoggerFactory.Instance)); 39var serviceProvider = new HubConnectionBuilder().AddNewtonsoftJsonProtocol().Services.BuildServiceProvider(); 54}).Services.BuildServiceProvider(); 64builder.Services.AddSingleton<IConnectionFactory>(new HttpConnectionFactory(Options.Create(new HttpConnectionOptions()), NullLoggerFactory.Instance)); 76var serviceProvider = new HubConnectionBuilder().AddMessagePackProtocol().Services.BuildServiceProvider();
Microsoft.AspNetCore.SignalR.Microbenchmarks (4)
HubConnectionReceiveBenchmark.cs (2)
72hubConnectionBuilder.Services.TryAddEnumerable(ServiceDescriptor.Singleton(typeof(IHubProtocol), hubProtocol)); 85hubConnectionBuilder.Services.AddSingleton<IConnectionFactory>(delegateConnectionFactory);
HubConnectionSendBenchmark.cs (1)
65hubConnectionBuilder.Services.AddSingleton<IConnectionFactory>(delegateConnectionFactory);
HubConnectionStartBenchmark.cs (1)
51hubConnectionBuilder.Services.AddSingleton<IConnectionFactory>(delegateConnectionFactory);