3 instantiations of Thing
Microsoft.AspNetCore.AsyncState.Tests (3)
AsyncContextHttpContextOfTTests.cs (3)
36
var value = new
Thing
();
69
var value = new
Thing
();
87
var value = new
Thing
();
9 references to Thing
Microsoft.AspNetCore.AsyncState.Tests (9)
AsyncContextHttpContextOfTTests.cs (9)
16
private readonly IAsyncContext<
Thing
> _context;
28
_context = serviceProvider.GetRequiredService<IAsyncContext<
Thing
>>();
36
var
value = new Thing();
39
Assert.True(_context.TryGet(out
Thing
? stored));
46
Assert.True(_context.TryGet(out
Thing
? stored));
61
Assert.False(_context.TryGet(out
Thing
? stored));
69
var
value = new Thing();
87
var
value = new Thing();
90
Assert.True(_context.TryGet(out
Thing
? stored));