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)
22IDuplexPipe IConnectionTransportFeature.Transport
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (9)
26internal protected IConnectionTransportFeature? _currentIConnectionTransportFeature; 138else if (key == typeof(IConnectionTransportFeature)) 206else if (key == typeof(IConnectionTransportFeature)) 208_currentIConnectionTransportFeature = (IConnectionTransportFeature?)value; 276else if (typeof(TFeature) == typeof(IConnectionTransportFeature)) 278feature = Unsafe.As<IConnectionTransportFeature?, TFeature?>(ref _currentIConnectionTransportFeature); 352else if (typeof(TFeature) == typeof(IConnectionTransportFeature)) 354_currentIConnectionTransportFeature = Unsafe.As<TFeature?, IConnectionTransportFeature?>(ref feature); 418yield 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)
22IDuplexPipe IConnectionTransportFeature.Transport
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (9)
26internal protected IConnectionTransportFeature? _currentIConnectionTransportFeature; 138else if (key == typeof(IConnectionTransportFeature)) 206else if (key == typeof(IConnectionTransportFeature)) 208_currentIConnectionTransportFeature = (IConnectionTransportFeature?)value; 276else if (typeof(TFeature) == typeof(IConnectionTransportFeature)) 278feature = Unsafe.As<IConnectionTransportFeature?, TFeature?>(ref _currentIConnectionTransportFeature); 352else if (typeof(TFeature) == typeof(IConnectionTransportFeature)) 354_currentIConnectionTransportFeature = Unsafe.As<TFeature?, IConnectionTransportFeature?>(ref feature); 418yield return new KeyValuePair<Type, object>(typeof(IConnectionTransportFeature), _currentIConnectionTransportFeature);
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (10)
src\Servers\Kestrel\shared\TransportConnection.FeatureCollection.cs (1)
22IDuplexPipe IConnectionTransportFeature.Transport
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (9)
26internal protected IConnectionTransportFeature? _currentIConnectionTransportFeature; 138else if (key == typeof(IConnectionTransportFeature)) 206else if (key == typeof(IConnectionTransportFeature)) 208_currentIConnectionTransportFeature = (IConnectionTransportFeature?)value; 276else if (typeof(TFeature) == typeof(IConnectionTransportFeature)) 278feature = Unsafe.As<IConnectionTransportFeature?, TFeature?>(ref _currentIConnectionTransportFeature); 352else if (typeof(TFeature) == typeof(IConnectionTransportFeature)) 354_currentIConnectionTransportFeature = Unsafe.As<TFeature?, IConnectionTransportFeature?>(ref feature); 418yield return new KeyValuePair<Type, object>(typeof(IConnectionTransportFeature), _currentIConnectionTransportFeature);
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (19)
src\Servers\Kestrel\shared\TransportConnection.FeatureCollection.cs (1)
22IDuplexPipe IConnectionTransportFeature.Transport
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (9)
26internal protected IConnectionTransportFeature? _currentIConnectionTransportFeature; 138else if (key == typeof(IConnectionTransportFeature)) 206else if (key == typeof(IConnectionTransportFeature)) 208_currentIConnectionTransportFeature = (IConnectionTransportFeature?)value; 276else if (typeof(TFeature) == typeof(IConnectionTransportFeature)) 278feature = Unsafe.As<IConnectionTransportFeature?, TFeature?>(ref _currentIConnectionTransportFeature); 352else if (typeof(TFeature) == typeof(IConnectionTransportFeature)) 354_currentIConnectionTransportFeature = Unsafe.As<TFeature?, IConnectionTransportFeature?>(ref feature); 418yield return new KeyValuePair<Type, object>(typeof(IConnectionTransportFeature), _currentIConnectionTransportFeature);
src\Servers\Kestrel\shared\TransportMultiplexedConnection.Generated.cs (9)
31internal protected IConnectionTransportFeature? _currentIConnectionTransportFeature; 125else if (key == typeof(IConnectionTransportFeature)) 169else if (key == typeof(IConnectionTransportFeature)) 171_currentIConnectionTransportFeature = (IConnectionTransportFeature?)value; 215else if (typeof(TFeature) == typeof(IConnectionTransportFeature)) 217feature = Unsafe.As<IConnectionTransportFeature?, TFeature?>(ref _currentIConnectionTransportFeature); 262else if (typeof(TFeature) == typeof(IConnectionTransportFeature)) 264_currentIConnectionTransportFeature = Unsafe.As<TFeature?, IConnectionTransportFeature?>(ref feature); 304yield return new KeyValuePair<Type, object>(typeof(IConnectionTransportFeature), _currentIConnectionTransportFeature);
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (10)
src\Servers\Kestrel\shared\TransportConnection.FeatureCollection.cs (1)
22IDuplexPipe IConnectionTransportFeature.Transport
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (9)
26internal protected IConnectionTransportFeature? _currentIConnectionTransportFeature; 138else if (key == typeof(IConnectionTransportFeature)) 206else if (key == typeof(IConnectionTransportFeature)) 208_currentIConnectionTransportFeature = (IConnectionTransportFeature?)value; 276else if (typeof(TFeature) == typeof(IConnectionTransportFeature)) 278feature = Unsafe.As<IConnectionTransportFeature?, TFeature?>(ref _currentIConnectionTransportFeature); 352else if (typeof(TFeature) == typeof(IConnectionTransportFeature)) 354_currentIConnectionTransportFeature = Unsafe.As<TFeature?, IConnectionTransportFeature?>(ref feature); 418yield return new KeyValuePair<Type, object>(typeof(IConnectionTransportFeature), _currentIConnectionTransportFeature);