Base:
property
Features
Microsoft.AspNetCore.Connections.BaseConnectionContext.Features
1 write to Features
Microsoft.AspNetCore.Connections.Abstractions (1)
DefaultConnectionContext.cs (1)
47
Features
= new FeatureCollection();
21 references to Features
Microsoft.AspNetCore.Connections.Abstractions (6)
DefaultConnectionContext.cs (6)
48
Features
.Set<IConnectionUserFeature>(this);
49
Features
.Set<IConnectionItemsFeature>(this);
50
Features
.Set<IConnectionIdFeature>(this);
51
Features
.Set<IConnectionTransportFeature>(this);
52
Features
.Set<IConnectionLifetimeFeature>(this);
53
Features
.Set<IConnectionEndPointFeature>(this);
Microsoft.AspNetCore.SignalR.Microbenchmarks (3)
HubConnectionReceiveBenchmark.cs (1)
81
connection.
Features
.Set<IConnectionInherentKeepAliveFeature>(new TestConnectionInherentKeepAliveFeature());
HubConnectionSendBenchmark.cs (1)
61
connection.
Features
.Set<IConnectionInherentKeepAliveFeature>(new TestConnectionInherentKeepAliveFeature());
HubConnectionStartBenchmark.cs (1)
47
connection.
Features
.Set<IConnectionInherentKeepAliveFeature>(new TestConnectionInherentKeepAliveFeature());
Microsoft.AspNetCore.SignalR.Specification.Tests (2)
src\SignalR\common\testassets\Tests.Utils\TestClient.cs (2)
49
Connection.
Features
.Set<ITransferFormatFeature>(this);
50
Connection.
Features
.Set<IConnectionHeartbeatFeature>(this);
Microsoft.AspNetCore.SignalR.Tests (8)
HubConnectionHandlerTests.cs (8)
2284
client.Connection.
Features
.Set<IConnectionLifetimeNotificationFeature>(new TestConnectionLifetimeNotification());
2290
client.Connection.
Features
.Get<IConnectionLifetimeNotificationFeature>().RequestClose();
2352
client.Connection.
Features
.Set<IHttpContextFeature>(httpConnectionContext);
2623
client.Connection.
Features
.Set<IHttpContextFeature>(feature);
5098
client2.Connection.
Features
.Set<IHttpContextFeature>(feature);
5205
client.Connection.
Features
.Set<IStatefulReconnectFeature>(new EmptyReconnectFeature());
5250
client.Connection.
Features
.Set<IStatefulReconnectFeature>(reconnectFeature);
5314
client.Connection.
Features
.Set<IStatefulReconnectFeature>(reconnectFeature);
Microsoft.AspNetCore.SignalR.Tests.Utils (2)
TestClient.cs (2)
49
Connection.
Features
.Set<ITransferFormatFeature>(this);
50
Connection.
Features
.Set<IConnectionHeartbeatFeature>(this);