4 implementations of
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Http\HttpProtocol.Generated.cs (1)
187object? IFeatureCollection.this[Type key]
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (2)
src\aspnetcore\src\Servers\Kestrel\shared\TransportConnection.Generated.cs (1)
129object? IFeatureCollection.this[Type key]
src\aspnetcore\src\Servers\Kestrel\shared\TransportMultiplexedConnection.Generated.cs (1)
116object? IFeatureCollection.this[Type key]
Microsoft.Extensions.Features (1)
FeatureCollection.cs (1)
64public object? this[Type key]
3 writes to
Microsoft.AspNetCore.AsyncState (1)
AsyncContextHttpContext.cs (1)
44httpContext.Features[typeof(TypeWrapper<T>)] = value;
Microsoft.AspNetCore.Testing.Tests (1)
FakesExtensionsTests.cs (1)
197hostMock.Object.Services.GetRequiredService<IServer>().Features[typeof(IServerAddressesFeature)] = null;
Microsoft.Extensions.Features (1)
FeatureReference.cs (1)
50features[typeof(T)] = feature;
3 references to
Microsoft.AspNetCore.AsyncState (1)
AsyncContextHttpContext.cs (1)
56value = (T?)httpContext.Features[typeof(TypeWrapper<T>)];
Microsoft.Extensions.Features (2)
FeatureCollectionExtensions.cs (1)
41return featureCollection[key] ?? throw new InvalidOperationException($"Feature '{key}' is not present.");
FeatureReference.cs (1)
37_feature = (T?)features[typeof(T)];