2 implementations of Set
Microsoft.AspNetCore.AsyncState (1)
AsyncContextHttpContext.cs (1)
34
public void
Set
(T? value)
Microsoft.Extensions.AsyncState (1)
AsyncContext.cs (1)
22
public void
Set
(T? context) => _state.Set(_token, context);
6 references to Set
Microsoft.AspNetCore.AsyncState (1)
AsyncContextHttpContext.cs (1)
40
_localContext.
Set
(value);
Microsoft.AspNetCore.AsyncState.Tests (3)
AsyncContextHttpContextOfTTests.cs (3)
37
_context.
Set
(value);
71
Assert.Throws<InvalidOperationException>(() => _context.
Set
(value));
88
_context.
Set
(value);
Microsoft.Extensions.AsyncState.Tests (2)
AsyncStateTests.cs (2)
246
spOne.
Set
(expectedValue1);
247
spTwo.
Set
(expectedValue2);