4 implementations of Change
Microsoft.Extensions.TimeProvider.Testing (1)
Timer.cs (1)
30public bool Change(TimeSpan dueTime, TimeSpan period)
System.Private.CoreLib (3)
src\libraries\Common\src\System\TimeProvider.cs (1)
211public bool Change(TimeSpan dueTime, TimeSpan period)
src\libraries\System.Private.CoreLib\src\System\Threading\Timer.cs (2)
539public bool Change(TimeSpan dueTime, TimeSpan period) => 919public bool Change(TimeSpan dueTime, TimeSpan period) =>
6 references to Change
Microsoft.Extensions.ServiceDiscovery (1)
ServiceEndpointWatcher.cs (1)
248_pollingTimer.Change(_options.RefreshPeriod, TimeSpan.Zero);
System.Private.CoreLib (5)
src\libraries\Common\src\System\Threading\ITimer.cs (1)
8/// Implementations of <see cref="Change"/>, <see cref="IDisposable.Dispose"/>, and <see cref="IAsyncDisposable.DisposeAsync"/>
src\libraries\Common\src\System\TimeProvider.cs (2)
146/// but can be re-enabled by calling the <see cref="ITimer.Change"/> method. 150/// but can be re-enabled using the <see cref="ITimer.Change"/> method.
src\libraries\System.Private.CoreLib\src\System\Threading\CancellationTokenSource.cs (1)
457timer.Change(
src\libraries\System.Private.CoreLib\src\System\Threading\PeriodicTimer.cs (1)
98if (!_timer.Change(value, value))