Implemented interface member:
method
Get<TFeature>
Microsoft.AspNetCore.Http.Features.IFeatureCollection.Get<TFeature>()
6 references to Get
Microsoft.Extensions.Features.Tests (6)
FeatureCollectionTests.cs (6)
55var ex = Assert.Throws<InvalidOperationException>(() => interfaces.Get<int>()); 64Assert.Null(interfaces.Get<Thing>()); 74Assert.Equal(value, interfaces.Get<int>()); 84Assert.Null(interfaces.Get<int?>()); 94Assert.Equal(value, interfaces.Get<int?>()); 104Assert.Equal(thing, interfaces.Get<Thing>());