11 implementations of IConnectionItemsFeature
InMemory.FunctionalTests (1)
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (1)
19IConnectionItemsFeature,
Microsoft.AspNetCore.Authentication.Negotiate.Test (2)
EventTests.cs (1)
474private class TestConnection : IConnectionItemsFeature, IConnectionCompleteFeature
NegotiateHandlerTests.cs (1)
498private class TestConnection : IConnectionItemsFeature, IConnectionCompleteFeature
Microsoft.AspNetCore.Connections.Abstractions (1)
DefaultConnectionContext.cs (1)
21IConnectionItemsFeature,
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionContext.cs (1)
24IConnectionItemsFeature,
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\WebTransport\WebTransportStream.cs (1)
16internal sealed class WebTransportStream : ConnectionContext, IStreamDirectionFeature, IStreamIdFeature, IConnectionItemsFeature
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (1)
19IConnectionItemsFeature,
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (1)
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (1)
19IConnectionItemsFeature,
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (2)
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (1)
19IConnectionItemsFeature,
src\Servers\Kestrel\shared\TransportMultiplexedConnection.Generated.cs (1)
18IConnectionItemsFeature,
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (1)
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (1)
19IConnectionItemsFeature,
72 references to IConnectionItemsFeature
InMemory.FunctionalTests (11)
Http3\WebTransport\WebTransportTestUtilities.cs (1)
80features.Set(Mock.Of<IConnectionItemsFeature>());
src\Servers\Kestrel\shared\TransportConnection.FeatureCollection.cs (1)
27IDictionary<object, object?> IConnectionItemsFeature.Items
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (9)
26internal protected IConnectionItemsFeature? _currentIConnectionItemsFeature; 139else if (key == typeof(IConnectionItemsFeature)) 203else if (key == typeof(IConnectionItemsFeature)) 205_currentIConnectionItemsFeature = (IConnectionItemsFeature?)value; 269else if (typeof(TFeature) == typeof(IConnectionItemsFeature)) 271feature = Unsafe.As<IConnectionItemsFeature?, TFeature?>(ref _currentIConnectionItemsFeature); 341else if (typeof(TFeature) == typeof(IConnectionItemsFeature)) 343_currentIConnectionItemsFeature = Unsafe.As<TFeature?, IConnectionItemsFeature?>(ref feature); 403yield return new KeyValuePair<Type, object>(typeof(IConnectionItemsFeature), _currentIConnectionItemsFeature);
Kestrel.SampleApp (4)
ClientCertBufferingFeature.cs (4)
26var connectionItems = context.Features.Get<IConnectionItemsFeature>(); 71var connectionItems = _context.Features.Get<IConnectionItemsFeature>();
Microsoft.AspNetCore.Authentication.Negotiate (2)
NegotiateHandler.cs (2)
410return Context.Features.Get<IConnectionItemsFeature>()?.Items 411?? throw new NotSupportedException($"Negotiate authentication requires a server that supports {nameof(IConnectionItemsFeature)} like Kestrel.");
Microsoft.AspNetCore.Authentication.Negotiate.Test (2)
EventTests.cs (1)
468context.Features.Set<IConnectionItemsFeature>(connection);
NegotiateHandlerTests.cs (1)
492context.Features.Set<IConnectionItemsFeature>(connection);
Microsoft.AspNetCore.Connections.Abstractions (1)
DefaultConnectionContext.cs (1)
49Features.Set<IConnectionItemsFeature>(this);
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionContext.cs (1)
90Features.Set<IConnectionItemsFeature>(this);
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\WebTransport\WebTransportStream.cs (1)
58_features.Set<IConnectionItemsFeature>(this);
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (10)
src\Servers\Kestrel\shared\TransportConnection.FeatureCollection.cs (1)
27IDictionary<object, object?> IConnectionItemsFeature.Items
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (9)
26internal protected IConnectionItemsFeature? _currentIConnectionItemsFeature; 139else if (key == typeof(IConnectionItemsFeature)) 203else if (key == typeof(IConnectionItemsFeature)) 205_currentIConnectionItemsFeature = (IConnectionItemsFeature?)value; 269else if (typeof(TFeature) == typeof(IConnectionItemsFeature)) 271feature = Unsafe.As<IConnectionItemsFeature?, TFeature?>(ref _currentIConnectionItemsFeature); 341else if (typeof(TFeature) == typeof(IConnectionItemsFeature)) 343_currentIConnectionItemsFeature = Unsafe.As<TFeature?, IConnectionItemsFeature?>(ref feature); 403yield return new KeyValuePair<Type, object>(typeof(IConnectionItemsFeature), _currentIConnectionItemsFeature);
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (10)
src\Servers\Kestrel\shared\TransportConnection.FeatureCollection.cs (1)
27IDictionary<object, object?> IConnectionItemsFeature.Items
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (9)
26internal protected IConnectionItemsFeature? _currentIConnectionItemsFeature; 139else if (key == typeof(IConnectionItemsFeature)) 203else if (key == typeof(IConnectionItemsFeature)) 205_currentIConnectionItemsFeature = (IConnectionItemsFeature?)value; 269else if (typeof(TFeature) == typeof(IConnectionItemsFeature)) 271feature = Unsafe.As<IConnectionItemsFeature?, TFeature?>(ref _currentIConnectionItemsFeature); 341else if (typeof(TFeature) == typeof(IConnectionItemsFeature)) 343_currentIConnectionItemsFeature = Unsafe.As<TFeature?, IConnectionItemsFeature?>(ref feature); 403yield return new KeyValuePair<Type, object>(typeof(IConnectionItemsFeature), _currentIConnectionItemsFeature);
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (20)
src\Servers\Kestrel\shared\TransportConnection.FeatureCollection.cs (1)
27IDictionary<object, object?> IConnectionItemsFeature.Items
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (9)
26internal protected IConnectionItemsFeature? _currentIConnectionItemsFeature; 139else if (key == typeof(IConnectionItemsFeature)) 203else if (key == typeof(IConnectionItemsFeature)) 205_currentIConnectionItemsFeature = (IConnectionItemsFeature?)value; 269else if (typeof(TFeature) == typeof(IConnectionItemsFeature)) 271feature = Unsafe.As<IConnectionItemsFeature?, TFeature?>(ref _currentIConnectionItemsFeature); 341else if (typeof(TFeature) == typeof(IConnectionItemsFeature)) 343_currentIConnectionItemsFeature = Unsafe.As<TFeature?, IConnectionItemsFeature?>(ref feature); 403yield return new KeyValuePair<Type, object>(typeof(IConnectionItemsFeature), _currentIConnectionItemsFeature);
src\Servers\Kestrel\shared\TransportMultiplexedConnection.FeatureCollection.cs (1)
18IDictionary<object, object?> IConnectionItemsFeature.Items
src\Servers\Kestrel\shared\TransportMultiplexedConnection.Generated.cs (9)
24internal protected IConnectionItemsFeature? _currentIConnectionItemsFeature; 126else if (key == typeof(IConnectionItemsFeature)) 166else if (key == typeof(IConnectionItemsFeature)) 168_currentIConnectionItemsFeature = (IConnectionItemsFeature?)value; 208else if (typeof(TFeature) == typeof(IConnectionItemsFeature)) 210feature = Unsafe.As<IConnectionItemsFeature?, TFeature?>(ref _currentIConnectionItemsFeature); 251else if (typeof(TFeature) == typeof(IConnectionItemsFeature)) 253_currentIConnectionItemsFeature = Unsafe.As<TFeature?, IConnectionItemsFeature?>(ref feature); 289yield return new KeyValuePair<Type, object>(typeof(IConnectionItemsFeature), _currentIConnectionItemsFeature);
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (10)
src\Servers\Kestrel\shared\TransportConnection.FeatureCollection.cs (1)
27IDictionary<object, object?> IConnectionItemsFeature.Items
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (9)
26internal protected IConnectionItemsFeature? _currentIConnectionItemsFeature; 139else if (key == typeof(IConnectionItemsFeature)) 203else if (key == typeof(IConnectionItemsFeature)) 205_currentIConnectionItemsFeature = (IConnectionItemsFeature?)value; 269else if (typeof(TFeature) == typeof(IConnectionItemsFeature)) 271feature = Unsafe.As<IConnectionItemsFeature?, TFeature?>(ref _currentIConnectionItemsFeature); 341else if (typeof(TFeature) == typeof(IConnectionItemsFeature)) 343_currentIConnectionItemsFeature = Unsafe.As<TFeature?, IConnectionItemsFeature?>(ref feature); 403yield return new KeyValuePair<Type, object>(typeof(IConnectionItemsFeature), _currentIConnectionItemsFeature);