7 implementations of
Microsoft.AspNetCore.Owin (1)
OwinFeatureCollection.cs (1)
337public object this[Type key]
Microsoft.AspNetCore.Server.HttpSys (1)
StandardFeatureCollection.cs (1)
72public object? this[Type key]
Microsoft.AspNetCore.Server.IIS (1)
Core\IISHttpContext.FeatureCollection.cs (1)
313object? IFeatureCollection.this[Type key]
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]
4 writes to
Microsoft.AspNetCore.AsyncState (1)
AsyncContextHttpContext.cs (1)
44httpContext.Features[typeof(TypeWrapper<T>)] = value;
Microsoft.AspNetCore.Owin (1)
OwinEnvironment.cs (1)
338context.Features[FeatureInterface] = feature;
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;
5 references to
Microsoft.AspNetCore.AsyncState (1)
AsyncContextHttpContext.cs (1)
56value = (T?)httpContext.Features[typeof(TypeWrapper<T>)];
Microsoft.AspNetCore.Owin (2)
OwinEnvironment.cs (2)
312object featureInstance = context.Features[FeatureInterface]; 328var feature = context.Features[FeatureInterface];
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)];