28 references to Timer
dotnet-svcutil-lib (11)
FrameworkFork\System.ServiceModel\Internals\System\Runtime\InputQueue.cs (2)
814_timer = new Timer(new TimerCallback(s_timerCallback), this, timeout, TimeSpan.FromMilliseconds(-1)); 871_timer = new Timer(new TimerCallback(s_timerCallback), this, timeout, TimeSpan.FromMilliseconds(-1));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\BufferedConnection.cs (1)
96_flushTimer = new Timer(new TimerCallback(new Action<object>(OnFlushTimer)), null, TimeSpan.FromMilliseconds(-1), TimeSpan.FromMilliseconds(-1));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\CoreClrSocketConnection.cs (2)
65_sendTimer = new Timer(s_onSendTimeout, this, TimeSpan.FromMilliseconds(-1), TimeSpan.FromMilliseconds(-1)); 83_receiveTimer = new Timer(s_onReceiveTimeout, this, TimeSpan.FromMilliseconds(-1), TimeSpan.FromMilliseconds(-1));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\IdlingCommunicationPool.cs (1)
200_idleTimer = new Timer(new TimerCallback(new Action<object>(s_onIdle)), this, _idleTimeout, TimeSpan.FromMilliseconds(-1));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\LifetimeManager.cs (1)
288_timer = new Timer(new TimerCallback(new Action<object>(TimeoutCallback)), this, timeout, TimeSpan.FromMilliseconds(-1));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceChannel.cs (2)
2278_timer = new Timer(new TimerCallback(s_timerCallback), this, timeout, TimeSpan.FromMilliseconds(-1)); 2345_timer = new Timer(new TimerCallback(GetTimerCallback()), this, idle, TimeSpan.FromMilliseconds(-1));
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\DuplexChannelBinder.cs (1)
824_timer = new Timer(new TimerCallback(AsyncDuplexRequest.s_timerCallback), this, timeout, TimeSpan.FromMilliseconds(-1));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\TimeBoundedCache.cs (1)
106_purgingTimer = new Timer(new TimerCallback(PurgeCallback), this, _purgeInterval, TimeSpan.FromMilliseconds(-1));
Microsoft.AspNetCore.Http.Connections (1)
src\Shared\NonCapturingTimer\NonCapturingTimer.cs (1)
30return new Timer(callback, state, dueTime, period);
Microsoft.AspNetCore.Shared.Tests (1)
src\Shared\NonCapturingTimer\NonCapturingTimer.cs (1)
30return new Timer(callback, state, dueTime, period);
Microsoft.AspNetCore.SignalR.Client.Core (1)
src\Shared\NonCapturingTimer\NonCapturingTimer.cs (1)
30return new Timer(callback, state, dueTime, period);
Microsoft.AspNetCore.SignalR.StackExchangeRedis (1)
src\Shared\NonCapturingTimer\NonCapturingTimer.cs (1)
30return new Timer(callback, state, dueTime, period);
Microsoft.AspNetCore.WebSockets.ConformanceTests (1)
Autobahn\AutobahnTester.cs (1)
38var pinger = new Timer(state => Pinger((CancellationToken)state), pingCts.Token, TimeSpan.FromSeconds(10), TimeSpan.FromSeconds(10));
Microsoft.Extensions.Diagnostics.HealthChecks (1)
src\Shared\NonCapturingTimer\NonCapturingTimer.cs (1)
30return new Timer(callback, state, dueTime, period);
Microsoft.Extensions.FileProviders.Physical (1)
src\libraries\Common\src\Extensions\NonCapturingTimer\NonCapturingTimer.cs (1)
28return new Timer(callback, state, dueTime, period);
Microsoft.Extensions.Http (1)
src\libraries\Common\src\Extensions\NonCapturingTimer\NonCapturingTimer.cs (1)
28return new Timer(callback, state, dueTime, period);
System.ServiceModel.NetFramingBase (1)
System\ServiceModel\Channels\IdlingCommunicationPool.cs (1)
183_idleTimer = new Timer(new TimerCallback(new Action<object>(s_onIdle)), this, _idleTimeout, Timeout.InfiniteTimeSpan);
System.Threading.RateLimiting (4)
System\Threading\RateLimiting\FixedWindowRateLimiter.cs (1)
78_renewTimer = new Timer(Replenish, this, _options.Window, _options.Window);
System\Threading\RateLimiting\SlidingWindowRateLimiter.cs (1)
92_renewTimer = new Timer(Replenish, this, ReplenishmentPeriod, ReplenishmentPeriod);
System\Threading\RateLimiting\TimerAwaitable.cs (1)
55_timer = new Timer(static state =>
System\Threading\RateLimiting\TokenBucketRateLimiter.cs (1)
86_renewTimer = new Timer(Replenish, this, _options.ReplenishmentPeriod, _options.ReplenishmentPeriod);
System.Transactions.Local (4)
System\Transactions\TransactionScope.cs (4)
137_scopeTimer = new Timer( 223_scopeTimer = new Timer( 305_scopeTimer = new Timer( 477_scopeTimer = new Timer(