2 implementations of IEndpointFeature
Microsoft.AspNetCore.Http.Abstractions (1)
Routing\EndpointHttpContextExtensions.cs (1)
62private sealed class EndpointFeature : IEndpointFeature
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Http\HttpProtocol.Generated.cs (1)
26IEndpointFeature,
14 references to IEndpointFeature
Microsoft.AspNetCore.Http.Abstractions (3)
Routing\EndpointHttpContextExtensions.cs (3)
26return context.Features.Get<IEndpointFeature>()?.Endpoint; 38var feature = context.Features.Get<IEndpointFeature>();
Microsoft.AspNetCore.Routing.Abstractions (1)
Properties\AssemblyInfo.cs (1)
9[assembly: TypeForwardedTo(typeof(IEndpointFeature))]
Microsoft.AspNetCore.Server.Kestrel.Core (10)
Internal\Http\HttpProtocol.FeatureCollection.cs (1)
230Endpoint? IEndpointFeature.Endpoint
Internal\Http\HttpProtocol.Generated.cs (9)
45internal protected IEndpointFeature? _currentIEndpointFeature; 208else if (key == typeof(IEndpointFeature)) 360else if (key == typeof(IEndpointFeature)) 362_currentIEndpointFeature = (IEndpointFeature?)value; 514else if (typeof(TFeature) == typeof(IEndpointFeature)) 516feature = Unsafe.As<IEndpointFeature?, TFeature?>(ref _currentIEndpointFeature); 674else if (typeof(TFeature) == typeof(IEndpointFeature)) 676_currentIEndpointFeature = Unsafe.As<TFeature?, IEndpointFeature?>(ref feature); 824yield return new KeyValuePair<Type, object>(typeof(IEndpointFeature), _currentIEndpointFeature);