2 implementations of Set
Microsoft.AspNetCore.AsyncState (1)
AsyncContextHttpContext.cs (1)
34public void Set(T? value)
Microsoft.Extensions.AsyncState (1)
AsyncContext.cs (1)
22public 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); 71Assert.Throws<InvalidOperationException>(() => _context.Set(value)); 88_context.Set(value);
Microsoft.Extensions.AsyncState.Tests (2)
AsyncStateTests.cs (2)
246spOne.Set(expectedValue1); 247spTwo.Set(expectedValue2);