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)
55
var ex = Assert.Throws<InvalidOperationException>(() => interfaces.
Get
<int>());
64
Assert.Null(interfaces.
Get
<Thing>());
74
Assert.Equal(value, interfaces.
Get
<int>());
84
Assert.Null(interfaces.
Get
<int?>());
94
Assert.Equal(value, interfaces.
Get
<int?>());
104
Assert.Equal(thing, interfaces.
Get
<Thing>());