|
@@ -12,7 +12,7 @@ using Windows.UI.Xaml;
|
|
|
namespace System.Reactive.Concurrency
|
|
namespace System.Reactive.Concurrency
|
|
|
{
|
|
{
|
|
|
/// <summary>
|
|
/// <summary>
|
|
|
- /// Represents an object that schedules units of work on a <see cref="Windows.UI.Core.CoreDispatcher"/>.
|
|
|
|
|
|
|
+ /// Represents an object that schedules units of work on a <see cref="CoreDispatcher"/>.
|
|
|
/// </summary>
|
|
/// </summary>
|
|
|
/// <remarks>
|
|
/// <remarks>
|
|
|
/// This scheduler type is typically used indirectly through the <see cref="System.Reactive.Linq.DispatcherObservable.ObserveOnDispatcher{TSource}(IObservable{TSource})"/> and <see cref="System.Reactive.Linq.DispatcherObservable.SubscribeOnDispatcher{TSource}(IObservable{TSource})"/> methods that use the current Dispatcher.
|
|
/// This scheduler type is typically used indirectly through the <see cref="System.Reactive.Linq.DispatcherObservable.ObserveOnDispatcher{TSource}(IObservable{TSource})"/> and <see cref="System.Reactive.Linq.DispatcherObservable.SubscribeOnDispatcher{TSource}(IObservable{TSource})"/> methods that use the current Dispatcher.
|
|
@@ -21,7 +21,7 @@ namespace System.Reactive.Concurrency
|
|
|
public sealed class CoreDispatcherScheduler : LocalScheduler, ISchedulerPeriodic
|
|
public sealed class CoreDispatcherScheduler : LocalScheduler, ISchedulerPeriodic
|
|
|
{
|
|
{
|
|
|
/// <summary>
|
|
/// <summary>
|
|
|
- /// Constructs a <see cref="CoreDispatcherScheduler"/> that schedules units of work on the given <see cref="Windows.UI.Core.CoreDispatcher"/>.
|
|
|
|
|
|
|
+ /// Constructs a <see cref="CoreDispatcherScheduler"/> that schedules units of work on the given <see cref="CoreDispatcher"/>.
|
|
|
/// </summary>
|
|
/// </summary>
|
|
|
/// <param name="dispatcher">Dispatcher to schedule work on.</param>
|
|
/// <param name="dispatcher">Dispatcher to schedule work on.</param>
|
|
|
/// <exception cref="ArgumentNullException"><paramref name="dispatcher"/> is <c>null</c>.</exception>
|
|
/// <exception cref="ArgumentNullException"><paramref name="dispatcher"/> is <c>null</c>.</exception>
|
|
@@ -32,7 +32,7 @@ namespace System.Reactive.Concurrency
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
|
- /// Constructs a <see cref="CoreDispatcherScheduler"/> that schedules units of work on the given <see cref="Windows.UI.Core.CoreDispatcher"/> with the given priority.
|
|
|
|
|
|
|
+ /// Constructs a <see cref="CoreDispatcherScheduler"/> that schedules units of work on the given <see cref="CoreDispatcher"/> with the given priority.
|
|
|
/// </summary>
|
|
/// </summary>
|
|
|
/// <param name="dispatcher">Dispatcher to schedule work on.</param>
|
|
/// <param name="dispatcher">Dispatcher to schedule work on.</param>
|
|
|
/// <param name="priority">Priority for scheduled units of work.</param>
|
|
/// <param name="priority">Priority for scheduled units of work.</param>
|
|
@@ -44,7 +44,7 @@ namespace System.Reactive.Concurrency
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
|
- /// Gets the scheduler that schedules work on the <see cref="Windows.UI.Core.CoreDispatcher"/> associated with the current Window.
|
|
|
|
|
|
|
+ /// Gets the scheduler that schedules work on the <see cref="CoreDispatcher"/> associated with the current Window.
|
|
|
/// </summary>
|
|
/// </summary>
|
|
|
public static CoreDispatcherScheduler Current
|
|
public static CoreDispatcherScheduler Current
|
|
|
{
|
|
{
|
|
@@ -61,7 +61,7 @@ namespace System.Reactive.Concurrency
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
|
- /// Gets the <see cref="Windows.UI.Core.CoreDispatcher"/> associated with the <see cref="CoreDispatcherScheduler"/>.
|
|
|
|
|
|
|
+ /// Gets the <see cref="CoreDispatcher"/> associated with the <see cref="CoreDispatcherScheduler"/>.
|
|
|
/// </summary>
|
|
/// </summary>
|
|
|
public CoreDispatcher Dispatcher { get; }
|
|
public CoreDispatcher Dispatcher { get; }
|
|
|
|
|
|
|
@@ -130,7 +130,7 @@ namespace System.Reactive.Concurrency
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
|
- /// Schedules an action to be executed after <paramref name="dueTime"/> on the dispatcher, using a <see cref="Windows.UI.Xaml.DispatcherTimer"/> object.
|
|
|
|
|
|
|
+ /// Schedules an action to be executed after <paramref name="dueTime"/> on the dispatcher, using a <see cref="DispatcherTimer"/> object.
|
|
|
/// </summary>
|
|
/// </summary>
|
|
|
/// <typeparam name="TState">The type of the state passed to the scheduled action.</typeparam>
|
|
/// <typeparam name="TState">The type of the state passed to the scheduled action.</typeparam>
|
|
|
/// <param name="state">State passed to the action to be executed.</param>
|
|
/// <param name="state">State passed to the action to be executed.</param>
|
|
@@ -194,7 +194,7 @@ namespace System.Reactive.Concurrency
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
|
- /// Schedules a periodic piece of work on the dispatcher, using a <see cref="Windows.UI.Xaml.DispatcherTimer"/> object.
|
|
|
|
|
|
|
+ /// Schedules a periodic piece of work on the dispatcher, using a <see cref="DispatcherTimer"/> object.
|
|
|
/// </summary>
|
|
/// </summary>
|
|
|
/// <typeparam name="TState">The type of the state passed to the scheduled action.</typeparam>
|
|
/// <typeparam name="TState">The type of the state passed to the scheduled action.</typeparam>
|
|
|
/// <param name="state">Initial state passed to the action upon the first iteration.</param>
|
|
/// <param name="state">Initial state passed to the action upon the first iteration.</param>
|