diff --git a/docs/System.Threading.TimeProviderPeriodicTimerExtensions.md b/docs/System.Threading.TimeProviderPeriodicTimerExtensions.md index abd9e48..5d245ad 100644 --- a/docs/System.Threading.TimeProviderPeriodicTimerExtensions.md +++ b/docs/System.Threading.TimeProviderPeriodicTimerExtensions.md @@ -12,7 +12,7 @@ public static class TimeProviderPeriodicTimerExtensions Inheritance [System.Object](https://docs.microsoft.com/en-us/dotnet/api/System.Object 'System.Object') 🡒 TimeProviderPeriodicTimerExtensions ### Methods - + ## TimeProviderPeriodicTimerExtensions.CreatePeriodicTimer(this TimeProvider, TimeSpan) Method @@ -20,15 +20,15 @@ Factory method that creates a periodic timer that enables waiting asynchronously Use this factory method as a replacement for instantiating a [System.Threading.PeriodicTimer](https://docs.microsoft.com/en-us/dotnet/api/System.Threading.PeriodicTimer 'System.Threading.PeriodicTimer'). ```csharp -public static System.Threading.PeriodicTimerWrapper CreatePeriodicTimer(this System.TimeProvider timeProvider, System.TimeSpan period); +public static System.Threading.PeriodicTimerWrapper CreatePeriodicTimer(this TimeProvider timeProvider, System.TimeSpan period); ``` #### Parameters - + `timeProvider` [System.TimeProvider](https://docs.microsoft.com/en-us/dotnet/api/System.TimeProvider 'System.TimeProvider') - + `period` [System.TimeSpan](https://docs.microsoft.com/en-us/dotnet/api/System.TimeSpan 'System.TimeSpan') diff --git a/docs/TimeProviderExtensions.ManualTimeProvider.md b/docs/TimeProviderExtensions.ManualTimeProvider.md index 1185759..cefed43 100644 --- a/docs/TimeProviderExtensions.ManualTimeProvider.md +++ b/docs/TimeProviderExtensions.ManualTimeProvider.md @@ -6,10 +6,10 @@ Represents a synthetic time provider that can be used to enable deterministic behavior in tests. ```csharp -public class ManualTimeProvider : System.TimeProvider +public class ManualTimeProvider ``` -Inheritance [System.Object](https://docs.microsoft.com/en-us/dotnet/api/System.Object 'System.Object') 🡒 [System.TimeProvider](https://docs.microsoft.com/en-us/dotnet/api/System.TimeProvider 'System.TimeProvider') 🡒 ManualTimeProvider +Inheritance [System.TimeProvider](https://docs.microsoft.com/en-us/dotnet/api/System.TimeProvider 'System.TimeProvider') 🡒 ManualTimeProvider ### Remarks Learn more at TimeProviderExtensions on GitHub. @@ -104,22 +104,6 @@ public TimeProviderExtensions.AutoAdvanceBehavior AutoAdvanceBehavior { get; set #### Property Value [AutoAdvanceBehavior](TimeProviderExtensions.AutoAdvanceBehavior.md 'TimeProviderExtensions.AutoAdvanceBehavior') - - -## ManualTimeProvider.LocalTimeZone Property - -Gets a [System.TimeZoneInfo](https://docs.microsoft.com/en-us/dotnet/api/System.TimeZoneInfo 'System.TimeZoneInfo') object that represents the local time zone according to this [System.TimeProvider](https://docs.microsoft.com/en-us/dotnet/api/System.TimeProvider 'System.TimeProvider')'s notion of time. - -```csharp -public override System.TimeZoneInfo LocalTimeZone { get; } -``` - -#### Property Value -[System.TimeZoneInfo](https://docs.microsoft.com/en-us/dotnet/api/System.TimeZoneInfo 'System.TimeZoneInfo') - -### Remarks -The default implementation returns [System.TimeZoneInfo.Local](https://docs.microsoft.com/en-us/dotnet/api/System.TimeZoneInfo.Local 'System.TimeZoneInfo.Local'). - ## ManualTimeProvider.Start Property diff --git a/docs/TimeProviderExtensions.ManualTimer.md b/docs/TimeProviderExtensions.ManualTimer.md index 4f03723..cd1428d 100644 --- a/docs/TimeProviderExtensions.ManualTimer.md +++ b/docs/TimeProviderExtensions.ManualTimer.md @@ -7,14 +7,13 @@ A implementation of a [System.Threading.ITimer](https://docs.microsoft.com/en-us ```csharp public class ManualTimer : -System.Threading.ITimer, System.IDisposable, System.IAsyncDisposable ``` -Inheritance [System.Object](https://docs.microsoft.com/en-us/dotnet/api/System.Object 'System.Object') 🡒 ManualTimer +Inheritance [System.Object](https://docs.microsoft.com/en-us/dotnet/api/System.Object 'System.Object') 🡒 [System.Threading.ITimer](https://docs.microsoft.com/en-us/dotnet/api/System.Threading.ITimer 'System.Threading.ITimer') 🡒 ManualTimer -Implements [System.Threading.ITimer](https://docs.microsoft.com/en-us/dotnet/api/System.Threading.ITimer 'System.Threading.ITimer'), [System.IDisposable](https://docs.microsoft.com/en-us/dotnet/api/System.IDisposable 'System.IDisposable'), [System.IAsyncDisposable](https://docs.microsoft.com/en-us/dotnet/api/System.IAsyncDisposable 'System.IAsyncDisposable') +Implements [System.IDisposable](https://docs.microsoft.com/en-us/dotnet/api/System.IDisposable 'System.IDisposable'), [System.IAsyncDisposable](https://docs.microsoft.com/en-us/dotnet/api/System.IAsyncDisposable 'System.IAsyncDisposable') ### Constructors @@ -153,8 +152,6 @@ Specify [System.Threading.Timeout.InfiniteTimeSpan](https://docs.microsoft.com/e The time interval between invocations of the callback method specified when the Timer was constructed. Specify [System.Threading.Timeout.InfiniteTimeSpan](https://docs.microsoft.com/en-us/dotnet/api/System.Threading.Timeout.InfiniteTimeSpan 'System.Threading.Timeout.InfiniteTimeSpan') to disable periodic signaling. -Implements [Change(TimeSpan, TimeSpan)](https://docs.microsoft.com/en-us/dotnet/api/System.Threading.ITimer.Change#System_Threading_ITimer_Change_System_TimeSpan,System_TimeSpan_ 'System.Threading.ITimer.Change(System.TimeSpan,System.TimeSpan)') - #### Returns [System.Boolean](https://docs.microsoft.com/en-us/dotnet/api/System.Boolean 'System.Boolean') [true](https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/bool 'https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/bool') if the timer was successfully updated; otherwise, [false](https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/bool 'https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/bool').