4 references to FromMicroseconds
Microsoft.AspNetCore.Http.Microbenchmarks (2)
RequestTimeoutsMiddlewareBenchmark.cs (2)
45await Task.Delay(TimeSpan.FromMicroseconds(2)); 54Timeout = TimeSpan.FromMicroseconds(1)
Microsoft.AspNetCore.OutputCaching.Tests (1)
OutputCacheTests.cs (1)
232DefaultExpirationTimeSpan = TimeSpan.FromMicroseconds(100)
Microsoft.AspNetCore.WebSockets.Tests (1)
AddWebSocketsTests.cs (1)
36Assert.Throws<ArgumentOutOfRangeException>(() => new WebSocketOptions() { KeepAliveTimeout = TimeSpan.FromMicroseconds(-1) });