217 references to FromMinutes
Aspire.Dashboard (5)
Components\Pages\Metrics.razor.cs (5)
23private static readonly TimeSpan s_defaultDuration = TimeSpan.FromMinutes(5); 86new() { Name = Loc[nameof(Dashboard.Resources.Metrics.MetricsLastOneMinute)], Id = TimeSpan.FromMinutes(1) }, 87new() { Name = Loc[nameof(Dashboard.Resources.Metrics.MetricsLastFiveMinutes)], Id = TimeSpan.FromMinutes(5) }, 88new() { Name = Loc[nameof(Dashboard.Resources.Metrics.MetricsLastFifteenMinutes)], Id = TimeSpan.FromMinutes(15) }, 89new() { Name = Loc[nameof(Dashboard.Resources.Metrics.MetricsLastThirtyMinutes)], Id = TimeSpan.FromMinutes(30) },
Aspire.Dashboard.Components.Tests (1)
Pages\MetricsTests.cs (1)
360Assert.Equal(TimeSpan.FromMinutes(720), viewModel.SelectedDuration.Id);
Aspire.EndToEnd.Tests (4)
tests\Shared\TemplatesTesting\AspireProject.cs (4)
116.WithTimeout(TimeSpan.FromMinutes(5)); 522options.AttemptTimeout.Timeout = TimeSpan.FromMinutes(2); 523options.CircuitBreaker.SamplingDuration = TimeSpan.FromMinutes(5); // needs to be at least double the AttemptTimeout to pass options validation 524options.TotalRequestTimeout.Timeout = TimeSpan.FromMinutes(10);
Aspire.Hosting (1)
Dcp\KubernetesService.cs (1)
293await foreach (var item in PeriodicRestartAsyncEnumerable.CreateAsync(innerWatchFactory, restartInterval: TimeSpan.FromMinutes(5), cancellationToken: cancellationToken).ConfigureAwait(false))
Aspire.Hosting.Azure.Tests (36)
AzureAIFoundryExtensionsTests.cs (1)
72var cts = new CancellationTokenSource(TimeSpan.FromMinutes(3));
AzureBicepProvisionerTests.cs (1)
50var cts = new CancellationTokenSource(TimeSpan.FromMinutes(5));
AzureCosmosDBEmulatorFunctionalTests.cs (4)
27var cts = new CancellationTokenSource(TimeSpan.FromMinutes(10)); 68var cts = new CancellationTokenSource(TimeSpan.FromMinutes(10)); 139var cts = new CancellationTokenSource(TimeSpan.FromMinutes(10)); 272var cts = new CancellationTokenSource(TimeSpan.FromMinutes(10));
AzureEventHubsExtensionsTests.cs (3)
25var cts = new CancellationTokenSource(TimeSpan.FromMinutes(10)); 66var cts = new CancellationTokenSource(TimeSpan.FromMinutes(10)); 118var cts = new CancellationTokenSource(TimeSpan.FromMinutes(10));
AzureServiceBusExtensionsTests.cs (19)
73var cts = new CancellationTokenSource(TimeSpan.FromMinutes(10)); 116var cts = new CancellationTokenSource(TimeSpan.FromMinutes(10)); 210queue.DefaultMessageTimeToLive = TimeSpan.FromMinutes(1); 213queue.LockDuration = TimeSpan.FromMinutes(5); 222topic.DefaultMessageTimeToLive = TimeSpan.FromMinutes(1); 230sub.DefaultMessageTimeToLive = TimeSpan.FromMinutes(1); 231sub.LockDuration = TimeSpan.FromMinutes(5); 270Assert.Equal(TimeSpan.FromMinutes(1), queue.DefaultMessageTimeToLive.Value); 273Assert.Equal(TimeSpan.FromMinutes(5), queue.LockDuration.Value); 280Assert.Equal(TimeSpan.FromMinutes(1), topic.DefaultMessageTimeToLive.Value); 287Assert.Equal(TimeSpan.FromMinutes(1), subscription.DefaultMessageTimeToLive.Value); 288Assert.Equal(TimeSpan.FromMinutes(5), subscription.LockDuration.Value); 318queue.DefaultMessageTimeToLive = TimeSpan.FromMinutes(1); 321queue.LockDuration = TimeSpan.FromMinutes(5); 330topic.DefaultMessageTimeToLive = TimeSpan.FromMinutes(1); 338sub.DefaultMessageTimeToLive = TimeSpan.FromMinutes(1); 339sub.LockDuration = TimeSpan.FromMinutes(5); 458queue.DefaultMessageTimeToLive = TimeSpan.FromMinutes(1); 776var cts = new CancellationTokenSource(TimeSpan.FromMinutes(10));
AzureSignalREmulatorFunctionalTest.cs (2)
42var cts = new CancellationTokenSource(TimeSpan.FromMinutes(3)); 78var cts = new CancellationTokenSource(TimeSpan.FromMinutes(3));
AzureStorageEmulatorFunctionalTests.cs (6)
21var cts = new CancellationTokenSource(TimeSpan.FromMinutes(3)); 70var cts = new CancellationTokenSource(TimeSpan.FromMinutes(3)); 113var cts = new CancellationTokenSource(TimeSpan.FromMinutes(3)); 156var cts = new CancellationTokenSource(TimeSpan.FromMinutes(3)); 212var cts = new CancellationTokenSource(TimeSpan.FromMinutes(3)); 251var cts = new CancellationTokenSource(TimeSpan.FromMinutes(3));
Aspire.Hosting.Containers.Tests (1)
WithDockerfileTests.cs (1)
731await app.ResourceNotifications.WaitForResourceAsync(resourceName, resourceState).WaitAsync(timeout ?? TimeSpan.FromMinutes(3));
Aspire.Hosting.Garnet.Tests (3)
GarnetFunctionalTests.cs (3)
21var cts = new CancellationTokenSource(TimeSpan.FromMinutes(3)); 59var cts = new CancellationTokenSource(TimeSpan.FromMinutes(5)); 103var cts = new CancellationTokenSource(TimeSpan.FromMinutes(5));
Aspire.Hosting.Kafka.Tests (2)
KafkaFunctionalTests.cs (2)
60var cts = new CancellationTokenSource(TimeSpan.FromMinutes(3)); 116var cts = new CancellationTokenSource(TimeSpan.FromMinutes(3));
Aspire.Hosting.MongoDB.Tests (5)
MongoDbFunctionalTests.cs (5)
33var cts = new CancellationTokenSource(TimeSpan.FromMinutes(3)); 70var cts = new CancellationTokenSource(TimeSpan.FromMinutes(3)); 108var cts = new CancellationTokenSource(TimeSpan.FromMinutes(6)); 254var cts = new CancellationTokenSource(TimeSpan.FromMinutes(6)); 352var cts = new CancellationTokenSource(TimeSpan.FromMinutes(6));
Aspire.Hosting.MySql.Tests (4)
MySqlFunctionalTests.cs (4)
616var cts = new CancellationTokenSource(TimeSpan.FromMinutes(5)); 690var cts = new CancellationTokenSource(TimeSpan.FromMinutes(5)); 765var cts = new CancellationTokenSource(TimeSpan.FromMinutes(5)); 815var cts = new CancellationTokenSource(TimeSpan.FromMinutes(5));
Aspire.Hosting.Nats.Tests (3)
NatsFunctionalTests.cs (3)
67var cts = new CancellationTokenSource(TimeSpan.FromMinutes(5)); 109var cts = new CancellationTokenSource(TimeSpan.FromMinutes(5)); 323var cts = new CancellationTokenSource(TimeSpan.FromMinutes(3));
Aspire.Hosting.NodeJs.Tests (1)
NodeAppFixture.cs (1)
42using var cts = new CancellationTokenSource(TimeSpan.FromMinutes(5));
Aspire.Hosting.Oracle.Tests (5)
OracleFunctionalTests.cs (5)
32var cts = new CancellationTokenSource(TimeSpan.FromMinutes(15)); 80var cts = new CancellationTokenSource(TimeSpan.FromMinutes(15)); 252var cts = new CancellationTokenSource(TimeSpan.FromMinutes(15)); 350var cts = new CancellationTokenSource(TimeSpan.FromMinutes(15)); 443var cts = new CancellationTokenSource(TimeSpan.FromMinutes(3));
Aspire.Hosting.PostgreSQL.Tests (10)
PostgresFunctionalTests.cs (10)
99var cts = new CancellationTokenSource(TimeSpan.FromMinutes(3)); 195var cts = new CancellationTokenSource(TimeSpan.FromMinutes(3)); 362var cts = new CancellationTokenSource(TimeSpan.FromMinutes(5)); 450var cts = new CancellationTokenSource(TimeSpan.FromMinutes(5)); 534var cts = new CancellationTokenSource(TimeSpan.FromMinutes(10)); 570await app.StopAsync(cts.Token).WaitAsync(TimeSpan.FromMinutes(1), cts.Token); 593var cts = new CancellationTokenSource(TimeSpan.FromMinutes(5)); 638var cts = new CancellationTokenSource(TimeSpan.FromMinutes(5)); 683var cts = new CancellationTokenSource(TimeSpan.FromMinutes(5)); 760var cts = new CancellationTokenSource(TimeSpan.FromMinutes(5));
Aspire.Hosting.Python.Tests (2)
AddPythonAppTests.cs (2)
298var createVirtualEnvironmentProcessResult = createVirtualEnvironmentProcess!.WaitForExit(TimeSpan.FromMinutes(2)); 328var installRequirementsProcessResult = installRequirementsProcess!.WaitForExit(TimeSpan.FromMinutes(2));
Aspire.Hosting.Qdrant.Tests (3)
QdrantFunctionalTests.cs (3)
27var cts = new CancellationTokenSource(TimeSpan.FromMinutes(3)); 91var cts = new CancellationTokenSource(TimeSpan.FromMinutes(3)); 254var cts = new CancellationTokenSource(TimeSpan.FromMinutes(3));
Aspire.Hosting.RabbitMQ.Tests (1)
RabbitMQFunctionalTests.cs (1)
98var cts = new CancellationTokenSource(TimeSpan.FromMinutes(3));
Aspire.Hosting.Redis.Tests (4)
RedisFunctionalTests.cs (4)
32var cts = new CancellationTokenSource(TimeSpan.FromMinutes(3)); 130var cts = new CancellationTokenSource(TimeSpan.FromMinutes(5)); 437var cts = new CancellationTokenSource(TimeSpan.FromMinutes(10)); 598var cts = new CancellationTokenSource(TimeSpan.FromMinutes(5));
Aspire.Hosting.SqlServer.Tests (7)
SqlServerFunctionalTests.cs (7)
24var cts = new CancellationTokenSource(TimeSpan.FromMinutes(3)); 64var cts = new CancellationTokenSource(TimeSpan.FromMinutes(5)); 129var cts = new CancellationTokenSource(TimeSpan.FromMinutes(10)); 339var cts = new CancellationTokenSource(TimeSpan.FromMinutes(5)); 405var cts = new CancellationTokenSource(TimeSpan.FromMinutes(5)); 458var cts = new CancellationTokenSource(TimeSpan.FromMinutes(5)); 534var cts = new CancellationTokenSource(TimeSpan.FromMinutes(5));
Aspire.Hosting.Testing.Tests (12)
TestingBuilderTests.cs (10)
20private static readonly TimeSpan s_appAliveCheckTimeout = TimeSpan.FromMinutes(1); 179await app.WaitForTextAsync("Application started.").WaitAsync(TimeSpan.FromMinutes(1)); 238await app.WaitForTextAsync("Application started.").WaitAsync(TimeSpan.FromMinutes(1)); 276await app.WaitForTextAsync("Application started.").WaitAsync(TimeSpan.FromMinutes(1)); 319await app.WaitForTextAsync("Application started.").WaitAsync(TimeSpan.FromMinutes(1)); 370await app.WaitForTextAsync("Application started.").WaitAsync(TimeSpan.FromMinutes(1)); 419await app.WaitForTextAsync("Application started.").WaitAsync(TimeSpan.FromMinutes(1)); 444var timeout = TimeSpan.FromMinutes(5); 489var timeout = TimeSpan.FromMinutes(5); 510var timeout = TimeSpan.FromMinutes(5);
TestingFactoryCrashTests.cs (1)
20var timeout = TimeSpan.FromMinutes(5);
TestingFactoryTests.cs (1)
52await _app.WaitForTextAsync("Application started.", "mywebapp1").WaitAsync(TimeSpan.FromMinutes(1));
Aspire.Hosting.Tests (2)
DistributedApplicationTests.cs (2)
63cts.CancelAfter(TimeSpan.FromMinutes(1)); 104cts.CancelAfter(TimeSpan.FromMinutes(1));
Aspire.Hosting.Valkey.Tests (1)
ValkeyFunctionalTests.cs (1)
200var cts = new CancellationTokenSource(TimeSpan.FromMinutes(3));
Aspire.Hosting.Yarp.Tests (2)
YarpConfigGeneratorTests.cs (1)
139ReactivationPeriod = TimeSpan.FromMinutes(5)
YarpFunctionalTests.cs (1)
29var cts = new CancellationTokenSource(TimeSpan.FromMinutes(5));
Aspire.Playground.Tests (4)
AppHostTests.cs (4)
50await Task.WhenAll(tasks).WaitAsync(TimeSpan.FromMinutes(5)); 70await app.WaitForResources().WaitAsync(TimeSpan.FromMinutes(5)); 75var timeout = TimeSpan.FromMinutes(5); 79await app.WaitForResource(ResourceName, TargetState).WaitAsync(TimeSpan.FromMinutes(5));
Aspire.RabbitMQ.Client.Tests (1)
AspireRabbitMQLoggingTests.cs (1)
68await tsc.Task.WaitAsync(TimeSpan.FromMinutes(1));
Aspire.RabbitMQ.Client.v7.Tests (1)
tests\Aspire.RabbitMQ.Client.Tests\AspireRabbitMQLoggingTests.cs (1)
68await tsc.Task.WaitAsync(TimeSpan.FromMinutes(1));
Aspire.Templates.Tests (5)
PerTestFrameworkTemplatesTests.cs (1)
48.WithTimeout(TimeSpan.FromMinutes(3));
tests\Shared\TemplatesTesting\AspireProject.cs (4)
116.WithTimeout(TimeSpan.FromMinutes(5)); 522options.AttemptTimeout.Timeout = TimeSpan.FromMinutes(2); 523options.CircuitBreaker.SamplingDuration = TimeSpan.FromMinutes(5); // needs to be at least double the AttemptTimeout to pass options validation 524options.TotalRequestTimeout.Timeout = TimeSpan.FromMinutes(10);
CdkSample.AppHost (2)
Program.cs (2)
61queue.LockDuration = TimeSpan.FromMinutes(5); 77subscription.LockDuration = TimeSpan.FromMinutes(5);
dotnet-svcutil-lib (8)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\UdpConstants.cs (2)
28public static readonly TimeSpan ReceiveTimeout = TimeSpan.FromMinutes(1); 29public static readonly TimeSpan SendTimeout = TimeSpan.FromMinutes(1);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataExchangeClient.cs (1)
32private TimeSpan _resolveTimeout = TimeSpan.FromMinutes(1);
FrameworkFork\System.ServiceModel\System\ServiceModel\ServiceDefaults.cs (4)
9public static TimeSpan CloseTimeout { get { return TimeSpan.FromMinutes(1); } } 10public static TimeSpan OpenTimeout { get { return TimeSpan.FromMinutes(1); } } 11public static TimeSpan ReceiveTimeout { get { return TimeSpan.FromMinutes(10); } } 12public static TimeSpan SendTimeout { get { return TimeSpan.FromMinutes(1); } }
FrameworkFork\System.ServiceModel\System\ServiceModel\SpnEndpointIdentity.cs (1)
14private static TimeSpan s_spnLookupTime = TimeSpan.FromMinutes(1);
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (4)
Workspaces\WorkspaceTests_EditorFeatures.cs (4)
808var longEventTimeout = TimeSpan.FromMinutes(5); 877var longEventTimeout = TimeSpan.FromMinutes(5); 940var longEventTimeout = TimeSpan.FromMinutes(5); 1001var longEventTimeout = TimeSpan.FromMinutes(5);
Microsoft.CodeAnalysis.Remote.ServiceHub (2)
Host\RemoteWorkspaceManager.cs (1)
53=> new SolutionAssetCache(workspace, cleanupInterval: TimeSpan.FromSeconds(30), purgeAfter: TimeSpan.FromMinutes(1));
Services\ProcessTelemetry\RemoteProcessTelemetryService.PerformanceReporter.cs (1)
38TimeSpan.FromMinutes(2),
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
MEF\UseExportProviderAttribute.cs (1)
54private static readonly TimeSpan CleanupTimeout = TimeSpan.FromMinutes(1);
Microsoft.Extensions.AI.Evaluation.Reporting.Tests (5)
CacheEntryTests.cs (4)
24expiration: DateTime.UtcNow.Add(TimeSpan.FromMinutes(5))); 44expiration: DateTime.UtcNow.Add(TimeSpan.FromMinutes(5))); 64expiration: DateTime.UtcNow.Add(TimeSpan.FromMinutes(5))); 85expiration: DateTime.UtcNow.Add(TimeSpan.FromMinutes(5)));
ScenarioRunResultTests.cs (1)
217expiration: DateTime.UtcNow.Add(TimeSpan.FromMinutes(5)));
Microsoft.Extensions.Caching.Hybrid (1)
Internal\DefaultHybridCache.cs (1)
111_defaultExpiration = defaultEntryOptions?.Expiration ?? TimeSpan.FromMinutes(DefaultExpirationMinutes);
Microsoft.Extensions.Caching.Hybrid.Tests (2)
L2Tests.cs (2)
22private static readonly HybridCacheEntryOptions _expiry = new() { Expiration = TimeSpan.FromMinutes(3.5) }; 24private static readonly HybridCacheEntryOptions _expiryNoL1 = new() { Flags = HybridCacheEntryFlags.DisableLocalCache, Expiration = TimeSpan.FromMinutes(3.5) };
Microsoft.Extensions.Diagnostics.Probes.Tests (2)
TcpEndpointProbesServiceTests.cs (2)
47timeProvider.Advance(TimeSpan.FromMinutes(1)); 56timeProvider.Advance(TimeSpan.FromMinutes(1));
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (28)
Linux\AcceptanceTest.cs (12)
46var cpuRefresh = TimeSpan.FromMinutes(13); 47var memoryRefresh = TimeSpan.FromMinutes(14); 75var cpuRefresh = TimeSpan.FromMinutes(13); 76var memoryRefresh = TimeSpan.FromMinutes(14); 98var cpuRefresh = TimeSpan.FromMinutes(13); 99var memoryRefresh = TimeSpan.FromMinutes(14); 147var cpuRefresh = TimeSpan.FromMinutes(13); 148var memoryRefresh = TimeSpan.FromMinutes(14); 195var cpuRefresh = TimeSpan.FromMinutes(13); 196var memoryRefresh = TimeSpan.FromMinutes(14); 293var cpuRefresh = TimeSpan.FromMinutes(13); 294var memoryRefresh = TimeSpan.FromMinutes(14);
Linux\Disk\LinuxSystemDiskMetricsTests.cs (5)
177fakeTimeProvider.Advance(TimeSpan.FromMinutes(1)); 198fakeTimeProvider.Advance(TimeSpan.FromMinutes(1)); 256fakeTimeProvider.Advance(TimeSpan.FromMinutes(5).Add(TimeSpan.FromSeconds(1))); 265fakeTimeProvider.Advance(TimeSpan.FromMinutes(5).Add(TimeSpan.FromSeconds(1))); 273fakeTimeProvider.Advance(TimeSpan.FromMinutes(5).Add(TimeSpan.FromSeconds(1)));
Linux\LinuxNetworkMetricsTests.cs (2)
88_timeProvider.Advance(TimeSpan.FromMinutes(2)); 106_timeProvider.Advance(TimeSpan.FromMinutes(6));
Linux\LinuxUtilizationProviderTests.cs (3)
345fakeTime.Advance(TimeSpan.FromMinutes(1)); 349fakeTime.Advance(TimeSpan.FromMinutes(5)); 412fakeTime.Advance(TimeSpan.FromMinutes(1));
Windows\Disk\WindowsDiskMetricsTests.cs (6)
83fakeTimeProvider.Advance(TimeSpan.FromMinutes(1)); 93fakeTimeProvider.Advance(TimeSpan.FromMinutes(1)); 111fakeTimeProvider.Advance(TimeSpan.FromMinutes(1)); 157fakeTimeProvider.Advance(TimeSpan.FromMinutes(1)); 167fakeTimeProvider.Advance(TimeSpan.FromMinutes(1)); 185fakeTimeProvider.Advance(TimeSpan.FromMinutes(1));
Microsoft.Extensions.Http.Diagnostics.Tests (10)
Logging\HttpClientLoggerTest.cs (7)
59BodyReadTimeout = TimeSpan.FromMinutes(5) 209BodyReadTimeout = TimeSpan.FromMinutes(5), 302BodyReadTimeout = TimeSpan.FromMinutes(5), 411BodyReadTimeout = TimeSpan.FromMinutes(5), 508BodyReadTimeout = TimeSpan.FromMinutes(5), 623BodyReadTimeout = TimeSpan.FromMinutes(5), 894BodyReadTimeout = TimeSpan.FromMinutes(5),
Logging\HttpRequestBodyReaderTest.cs (2)
129BodyReadTimeout = TimeSpan.FromMinutes(100) 153BodyReadTimeout = TimeSpan.FromMinutes(100)
Logging\LoggingOptionsTest.cs (1)
43var testTimeout = TimeSpan.FromMinutes(1);
Microsoft.Extensions.ML (1)
Builder\BuilderExtensions.cs (1)
69return builder.FromUri(modelName, uri, TimeSpan.FromMinutes(5));
Microsoft.Extensions.ServiceDiscovery.Dns (2)
DnsServiceEndpointProviderOptions.cs (1)
14public TimeSpan DefaultRefreshPeriod { get; set; } = TimeSpan.FromMinutes(1);
DnsSrvServiceEndpointProviderOptions.cs (1)
14public TimeSpan DefaultRefreshPeriod { get; set; } = TimeSpan.FromMinutes(1);
Microsoft.ML.PerformanceTests (1)
Harness\Configs.cs (1)
21Add(DefaultConfig.Instance.WithOption(ConfigOptions.Default, true).WithBuildTimeout(TimeSpan.FromMinutes(5))); // this config contains all of the basic settings (exporters, columns etc)
Microsoft.ML.Tokenizers.Tests (2)
LlamaTests.cs (1)
21private static readonly HttpClient _httpClient = new HttpClient() { Timeout = TimeSpan.FromMinutes(5) };
Utils.cs (1)
17using (var client = new HttpClient() { Timeout = TimeSpan.FromMinutes(5) })
Microsoft.VisualStudio.LanguageServices (1)
Workspace\VisualStudioSourceGeneratorTelemetryCollectorWorkspaceServiceFactory.cs (1)
59TimeSpan.FromMinutes(5),
Stress.ApiService (1)
Program.cs (1)
198while (stopwatch.Elapsed < TimeSpan.FromMinutes(1))
System.ServiceModel.Federation (4)
System\ServiceModel\Security\ServiceDefaults.cs (4)
10public static TimeSpan CloseTimeout { get { return TimeSpan.FromMinutes(1); } } 11public static TimeSpan OpenTimeout { get { return TimeSpan.FromMinutes(1); } } 12public static TimeSpan ReceiveTimeout { get { return TimeSpan.FromMinutes(10); } } 13public static TimeSpan SendTimeout { get { return TimeSpan.FromMinutes(1); } }
System.ServiceModel.NetNamedPipe (3)
System\Runtime\BackoffTimeoutHelper.cs (1)
13private static readonly TimeSpan s_defaultMaxWaitTime = TimeSpan.FromMinutes(1);
System\ServiceModel\Channels\PipeConnectionInitiator.cs (1)
165backoffHelper = new BackoffTimeoutHelper(backoffTimeout, TimeSpan.FromMinutes(5));
System\ServiceModel\Channels\TransportDefaults.cs (1)
18public static TimeSpan IdleTimeout => TimeSpan.FromMinutes(2);
System.ServiceModel.NetTcp (2)
System\ServiceModel\Channels\TransportDefaults.cs (2)
28public static TimeSpan ConnectionLeaseTimeout => TimeSpan.FromMinutes(5); 39public static TimeSpan IdleTimeout => TimeSpan.FromMinutes(2);
System.ServiceModel.Primitives (5)
System\ServiceModel\ServiceDefaults.cs (4)
10public static TimeSpan CloseTimeout { get { return TimeSpan.FromMinutes(1); } } 11public static TimeSpan OpenTimeout { get { return TimeSpan.FromMinutes(1); } } 12public static TimeSpan ReceiveTimeout { get { return TimeSpan.FromMinutes(10); } } 13public static TimeSpan SendTimeout { get { return TimeSpan.FromMinutes(1); } }
System\ServiceModel\SpnEndpointIdentity.cs (1)
12private static TimeSpan s_spnLookupTime = TimeSpan.FromMinutes(1);
System.ServiceModel.UnixDomainSocket (2)
System\ServiceModel\Channels\TransportDefaults.cs (2)
28public static TimeSpan ConnectionLeaseTimeout => TimeSpan.FromMinutes(5); 36public static TimeSpan IdleTimeout => TimeSpan.FromMinutes(2);
UnitTests.Common (2)
TestData.cs (2)
24{ TimeSpan.FromMinutes(1)}, 36{ TimeSpan.FromMinutes(-1)},