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