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