1 implementation of IThing
Microsoft.Extensions.Features.Tests (1)
Thing.cs (1)
6
public class Thing :
IThing
12 references to IThing
Microsoft.Extensions.Features.Tests (12)
FeatureCollectionExtensionsTests.cs (4)
17
features.Set<
IThing
>(thing);
20
var
retrievedThing = features.GetRequiredFeature<
IThing
>();
33
features.Set<
IThing
>(thing);
FeatureCollectionTests.cs (8)
17
interfaces[typeof(
IThing
)] = thing;
19
var thing2 = interfaces[typeof(
IThing
)];
29
interfaces[typeof(
IThing
)] = thing;
31
Assert.Equal(interfaces[typeof(
IThing
)], thing);
40
interfaces[typeof(
IThing
)] = thing;
41
Assert.Equal(interfaces[typeof(
IThing
)], thing);
43
interfaces[typeof(
IThing
)] = null;
45
var thing2 = interfaces[typeof(
IThing
)];