7 implementations of IConnectionTransportFeature
InMemory.FunctionalTests (1)
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (1)
18IConnectionTransportFeature,
Microsoft.AspNetCore.Connections.Abstractions (1)
DefaultConnectionContext.cs (1)
22IConnectionTransportFeature,
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionContext.cs (1)
25IConnectionTransportFeature,
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (1)
18IConnectionTransportFeature,
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (1)
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (1)
18IConnectionTransportFeature,
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (1)
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (1)
18IConnectionTransportFeature,
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (1)
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (1)
18IConnectionTransportFeature,
63 references to IConnectionTransportFeature
InMemory.FunctionalTests (12)
src\Servers\Kestrel\shared\TransportConnection.FeatureCollection.cs (1)
21IDuplexPipe IConnectionTransportFeature.Transport
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (9)
25internal protected IConnectionTransportFeature? _currentIConnectionTransportFeature; 135else if (key == typeof(IConnectionTransportFeature)) 199else if (key == typeof(IConnectionTransportFeature)) 201_currentIConnectionTransportFeature = (IConnectionTransportFeature?)value; 265else if (typeof(TFeature) == typeof(IConnectionTransportFeature)) 267feature = Unsafe.As<IConnectionTransportFeature?, TFeature?>(ref _currentIConnectionTransportFeature); 337else if (typeof(TFeature) == typeof(IConnectionTransportFeature)) 339_currentIConnectionTransportFeature = Unsafe.As<TFeature?, IConnectionTransportFeature?>(ref feature); 399yield return new KeyValuePair<Type, object>(typeof(IConnectionTransportFeature), _currentIConnectionTransportFeature);
UpgradeTests.cs (2)
404var connectionTransportFeature = context.Features.Get<IConnectionTransportFeature>();
Microsoft.AspNetCore.Connections.Abstractions (1)
DefaultConnectionContext.cs (1)
51Features.Set<IConnectionTransportFeature>(this);
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionContext.cs (1)
92Features.Set<IConnectionTransportFeature>(this);
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (10)
src\Servers\Kestrel\shared\TransportConnection.FeatureCollection.cs (1)
21IDuplexPipe IConnectionTransportFeature.Transport
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (9)
25internal protected IConnectionTransportFeature? _currentIConnectionTransportFeature; 135else if (key == typeof(IConnectionTransportFeature)) 199else if (key == typeof(IConnectionTransportFeature)) 201_currentIConnectionTransportFeature = (IConnectionTransportFeature?)value; 265else if (typeof(TFeature) == typeof(IConnectionTransportFeature)) 267feature = Unsafe.As<IConnectionTransportFeature?, TFeature?>(ref _currentIConnectionTransportFeature); 337else if (typeof(TFeature) == typeof(IConnectionTransportFeature)) 339_currentIConnectionTransportFeature = Unsafe.As<TFeature?, IConnectionTransportFeature?>(ref feature); 399yield return new KeyValuePair<Type, object>(typeof(IConnectionTransportFeature), _currentIConnectionTransportFeature);
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (10)
src\Servers\Kestrel\shared\TransportConnection.FeatureCollection.cs (1)
21IDuplexPipe IConnectionTransportFeature.Transport
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (9)
25internal protected IConnectionTransportFeature? _currentIConnectionTransportFeature; 135else if (key == typeof(IConnectionTransportFeature)) 199else if (key == typeof(IConnectionTransportFeature)) 201_currentIConnectionTransportFeature = (IConnectionTransportFeature?)value; 265else if (typeof(TFeature) == typeof(IConnectionTransportFeature)) 267feature = Unsafe.As<IConnectionTransportFeature?, TFeature?>(ref _currentIConnectionTransportFeature); 337else if (typeof(TFeature) == typeof(IConnectionTransportFeature)) 339_currentIConnectionTransportFeature = Unsafe.As<TFeature?, IConnectionTransportFeature?>(ref feature); 399yield return new KeyValuePair<Type, object>(typeof(IConnectionTransportFeature), _currentIConnectionTransportFeature);
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (19)
src\Servers\Kestrel\shared\TransportConnection.FeatureCollection.cs (1)
21IDuplexPipe IConnectionTransportFeature.Transport
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (9)
25internal protected IConnectionTransportFeature? _currentIConnectionTransportFeature; 135else if (key == typeof(IConnectionTransportFeature)) 199else if (key == typeof(IConnectionTransportFeature)) 201_currentIConnectionTransportFeature = (IConnectionTransportFeature?)value; 265else if (typeof(TFeature) == typeof(IConnectionTransportFeature)) 267feature = Unsafe.As<IConnectionTransportFeature?, TFeature?>(ref _currentIConnectionTransportFeature); 337else if (typeof(TFeature) == typeof(IConnectionTransportFeature)) 339_currentIConnectionTransportFeature = Unsafe.As<TFeature?, IConnectionTransportFeature?>(ref feature); 399yield return new KeyValuePair<Type, object>(typeof(IConnectionTransportFeature), _currentIConnectionTransportFeature);
src\Servers\Kestrel\shared\TransportMultiplexedConnection.Generated.cs (9)
29internal protected IConnectionTransportFeature? _currentIConnectionTransportFeature; 122else if (key == typeof(IConnectionTransportFeature)) 162else if (key == typeof(IConnectionTransportFeature)) 164_currentIConnectionTransportFeature = (IConnectionTransportFeature?)value; 204else if (typeof(TFeature) == typeof(IConnectionTransportFeature)) 206feature = Unsafe.As<IConnectionTransportFeature?, TFeature?>(ref _currentIConnectionTransportFeature); 247else if (typeof(TFeature) == typeof(IConnectionTransportFeature)) 249_currentIConnectionTransportFeature = Unsafe.As<TFeature?, IConnectionTransportFeature?>(ref feature); 285yield return new KeyValuePair<Type, object>(typeof(IConnectionTransportFeature), _currentIConnectionTransportFeature);
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (10)
src\Servers\Kestrel\shared\TransportConnection.FeatureCollection.cs (1)
21IDuplexPipe IConnectionTransportFeature.Transport
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (9)
25internal protected IConnectionTransportFeature? _currentIConnectionTransportFeature; 135else if (key == typeof(IConnectionTransportFeature)) 199else if (key == typeof(IConnectionTransportFeature)) 201_currentIConnectionTransportFeature = (IConnectionTransportFeature?)value; 265else if (typeof(TFeature) == typeof(IConnectionTransportFeature)) 267feature = Unsafe.As<IConnectionTransportFeature?, TFeature?>(ref _currentIConnectionTransportFeature); 337else if (typeof(TFeature) == typeof(IConnectionTransportFeature)) 339_currentIConnectionTransportFeature = Unsafe.As<TFeature?, IConnectionTransportFeature?>(ref feature); 399yield return new KeyValuePair<Type, object>(typeof(IConnectionTransportFeature), _currentIConnectionTransportFeature);