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)
505private 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)
86features.Set(Mock.Of<IConnectionItemsFeature>());
src\Servers\Kestrel\shared\TransportConnection.FeatureCollection.cs (1)
28IDictionary<object, object?> IConnectionItemsFeature.Items
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (9)
27internal protected IConnectionItemsFeature? _currentIConnectionItemsFeature; 142else if (key == typeof(IConnectionItemsFeature)) 210else if (key == typeof(IConnectionItemsFeature)) 212_currentIConnectionItemsFeature = (IConnectionItemsFeature?)value; 280else if (typeof(TFeature) == typeof(IConnectionItemsFeature)) 282feature = Unsafe.As<IConnectionItemsFeature?, TFeature?>(ref _currentIConnectionItemsFeature); 356else if (typeof(TFeature) == typeof(IConnectionItemsFeature)) 358_currentIConnectionItemsFeature = Unsafe.As<TFeature?, IConnectionItemsFeature?>(ref feature); 422yield 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)
407return Context.Features.Get<IConnectionItemsFeature>()?.Items 408?? 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)
499context.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)
28IDictionary<object, object?> IConnectionItemsFeature.Items
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (9)
27internal protected IConnectionItemsFeature? _currentIConnectionItemsFeature; 142else if (key == typeof(IConnectionItemsFeature)) 210else if (key == typeof(IConnectionItemsFeature)) 212_currentIConnectionItemsFeature = (IConnectionItemsFeature?)value; 280else if (typeof(TFeature) == typeof(IConnectionItemsFeature)) 282feature = Unsafe.As<IConnectionItemsFeature?, TFeature?>(ref _currentIConnectionItemsFeature); 356else if (typeof(TFeature) == typeof(IConnectionItemsFeature)) 358_currentIConnectionItemsFeature = Unsafe.As<TFeature?, IConnectionItemsFeature?>(ref feature); 422yield return new KeyValuePair<Type, object>(typeof(IConnectionItemsFeature), _currentIConnectionItemsFeature);
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (10)
src\Servers\Kestrel\shared\TransportConnection.FeatureCollection.cs (1)
28IDictionary<object, object?> IConnectionItemsFeature.Items
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (9)
27internal protected IConnectionItemsFeature? _currentIConnectionItemsFeature; 142else if (key == typeof(IConnectionItemsFeature)) 210else if (key == typeof(IConnectionItemsFeature)) 212_currentIConnectionItemsFeature = (IConnectionItemsFeature?)value; 280else if (typeof(TFeature) == typeof(IConnectionItemsFeature)) 282feature = Unsafe.As<IConnectionItemsFeature?, TFeature?>(ref _currentIConnectionItemsFeature); 356else if (typeof(TFeature) == typeof(IConnectionItemsFeature)) 358_currentIConnectionItemsFeature = Unsafe.As<TFeature?, IConnectionItemsFeature?>(ref feature); 422yield return new KeyValuePair<Type, object>(typeof(IConnectionItemsFeature), _currentIConnectionItemsFeature);
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (20)
src\Servers\Kestrel\shared\TransportConnection.FeatureCollection.cs (1)
28IDictionary<object, object?> IConnectionItemsFeature.Items
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (9)
27internal protected IConnectionItemsFeature? _currentIConnectionItemsFeature; 142else if (key == typeof(IConnectionItemsFeature)) 210else if (key == typeof(IConnectionItemsFeature)) 212_currentIConnectionItemsFeature = (IConnectionItemsFeature?)value; 280else if (typeof(TFeature) == typeof(IConnectionItemsFeature)) 282feature = Unsafe.As<IConnectionItemsFeature?, TFeature?>(ref _currentIConnectionItemsFeature); 356else if (typeof(TFeature) == typeof(IConnectionItemsFeature)) 358_currentIConnectionItemsFeature = Unsafe.As<TFeature?, IConnectionItemsFeature?>(ref feature); 422yield return new KeyValuePair<Type, object>(typeof(IConnectionItemsFeature), _currentIConnectionItemsFeature);
src\Servers\Kestrel\shared\TransportMultiplexedConnection.FeatureCollection.cs (1)
19IDictionary<object, object?> IConnectionItemsFeature.Items
src\Servers\Kestrel\shared\TransportMultiplexedConnection.Generated.cs (9)
25internal protected IConnectionItemsFeature? _currentIConnectionItemsFeature; 129else if (key == typeof(IConnectionItemsFeature)) 173else if (key == typeof(IConnectionItemsFeature)) 175_currentIConnectionItemsFeature = (IConnectionItemsFeature?)value; 219else if (typeof(TFeature) == typeof(IConnectionItemsFeature)) 221feature = Unsafe.As<IConnectionItemsFeature?, TFeature?>(ref _currentIConnectionItemsFeature); 266else if (typeof(TFeature) == typeof(IConnectionItemsFeature)) 268_currentIConnectionItemsFeature = Unsafe.As<TFeature?, IConnectionItemsFeature?>(ref feature); 308yield return new KeyValuePair<Type, object>(typeof(IConnectionItemsFeature), _currentIConnectionItemsFeature);
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (10)
src\Servers\Kestrel\shared\TransportConnection.FeatureCollection.cs (1)
28IDictionary<object, object?> IConnectionItemsFeature.Items
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (9)
27internal protected IConnectionItemsFeature? _currentIConnectionItemsFeature; 142else if (key == typeof(IConnectionItemsFeature)) 210else if (key == typeof(IConnectionItemsFeature)) 212_currentIConnectionItemsFeature = (IConnectionItemsFeature?)value; 280else if (typeof(TFeature) == typeof(IConnectionItemsFeature)) 282feature = Unsafe.As<IConnectionItemsFeature?, TFeature?>(ref _currentIConnectionItemsFeature); 356else if (typeof(TFeature) == typeof(IConnectionItemsFeature)) 358_currentIConnectionItemsFeature = Unsafe.As<TFeature?, IConnectionItemsFeature?>(ref feature); 422yield return new KeyValuePair<Type, object>(typeof(IConnectionItemsFeature), _currentIConnectionItemsFeature);