5 writes to StartUpTimeout
Microsoft.Extensions.Hosting.Testing.Tests (5)
FakeHostTests.cs (5)
48
var sut = new FakeHost(hostMock.Object, new FakeHostOptions {
StartUpTimeout
= TimeSpan.Zero });
66
var sut = new FakeHost(hostMock.Object, new FakeHostOptions {
StartUpTimeout
= TimeSpan.Zero });
86
var sut = new FakeHost(hostMock.Object, new FakeHostOptions {
StartUpTimeout
= TimeSpan.FromMilliseconds(-1) });
125
var sut = new FakeHost(hostMock.Object, new FakeHostOptions {
StartUpTimeout
= TimeSpan.Zero });
146
var sut = new FakeHost(hostMock.Object, new FakeHostOptions {
StartUpTimeout
= TimeSpan.FromMilliseconds(-1) });
3 references to StartUpTimeout
Microsoft.Extensions.Hosting.Testing (3)
FakeHost.cs (3)
67
/// <remarks>If no cancellation token is given, a new one using <see cref="FakeHostOptions.
StartUpTimeout
"/> is used.</remarks>
70
using var cancellationTokenSource = TimeProvider.CreateCancellationTokenSource(_options.
StartUpTimeout
);
90
/// <remarks>If no cancellation token is given, a new one using <see cref="FakeHostOptions.
StartUpTimeout
"/> is used.</remarks>