System.Reactive.Core
The System.Reactive.PlatformServices namespace contains interfaces and classes used by the runtime infrastructure of Reactive Extensions.
Those are not intended to be used directly from user code and are subject to change in future releases of the product.
Provides a set of static methods for subscribing delegates to observables.
Subscribes to the observable sequence without specifying any handlers.
This method can be used to evaluate the observable sequence for its side-effects only.
The type of the elements in the source sequence.
Observable sequence to subscribe to.
IDisposable object used to unsubscribe from the observable sequence.
is null.
Subscribes an element handler to an observable sequence.
The type of the elements in the source sequence.
Observable sequence to subscribe to.
Action to invoke for each element in the observable sequence.
IDisposable object used to unsubscribe from the observable sequence.
or is null.
Subscribes an element handler and an exception handler to an observable sequence.
The type of the elements in the source sequence.
Observable sequence to subscribe to.
Action to invoke for each element in the observable sequence.
Action to invoke upon exceptional termination of the observable sequence.
IDisposable object used to unsubscribe from the observable sequence.
or or is null.
Subscribes an element handler and a completion handler to an observable sequence.
The type of the elements in the source sequence.
Observable sequence to subscribe to.
Action to invoke for each element in the observable sequence.
Action to invoke upon graceful termination of the observable sequence.
IDisposable object used to unsubscribe from the observable sequence.
or or is null.
Subscribes an element handler, an exception handler, and a completion handler to an observable sequence.
The type of the elements in the source sequence.
Observable sequence to subscribe to.
Action to invoke for each element in the observable sequence.
Action to invoke upon exceptional termination of the observable sequence.
Action to invoke upon graceful termination of the observable sequence.
IDisposable object used to unsubscribe from the observable sequence.
or or or is null.
Subscribes an observer to an observable sequence, using a CancellationToken to support unsubscription.
The type of the elements in the source sequence.
Observable sequence to subscribe to.
Observer to subscribe to the sequence.
CancellationToken that can be signaled to unsubscribe from the source sequence.
or is null.
Subscribes to the observable sequence without specifying any handlers, using a CancellationToken to support unsubscription.
This method can be used to evaluate the observable sequence for its side-effects only.
The type of the elements in the source sequence.
Observable sequence to subscribe to.
CancellationToken that can be signaled to unsubscribe from the source sequence.
is null.
Subscribes an element handler to an observable sequence, using a CancellationToken to support unsubscription.
The type of the elements in the source sequence.
Observable sequence to subscribe to.
Action to invoke for each element in the observable sequence.
CancellationToken that can be signaled to unsubscribe from the source sequence.
or is null.
Subscribes an element handler and an exception handler to an observable sequence, using a CancellationToken to support unsubscription.
The type of the elements in the source sequence.
Observable sequence to subscribe to.
Action to invoke for each element in the observable sequence.
Action to invoke upon exceptional termination of the observable sequence.
CancellationToken that can be signaled to unsubscribe from the source sequence.
or or is null.
Subscribes an element handler and a completion handler to an observable sequence, using a CancellationToken to support unsubscription.
The type of the elements in the source sequence.
Observable sequence to subscribe to.
Action to invoke for each element in the observable sequence.
Action to invoke upon graceful termination of the observable sequence.
CancellationToken that can be signaled to unsubscribe from the source sequence.
or or is null.
Subscribes an element handler, an exception handler, and a completion handler to an observable sequence, using a CancellationToken to support unsubscription.
The type of the elements in the source sequence.
Observable sequence to subscribe to.
Action to invoke for each element in the observable sequence.
Action to invoke upon exceptional termination of the observable sequence.
Action to invoke upon graceful termination of the observable sequence.
CancellationToken that can be signaled to unsubscribe from the source sequence.
or or or is null.
Subscribes to the specified source, re-routing synchronous exceptions during invocation of the Subscribe method to the observer's OnError channel.
This method is typically used when writing query operators.
The type of the elements in the source sequence.
Observable sequence to subscribe to.
Observer that will be passed to the observable sequence, and that will be used for exception propagation.
IDisposable object used to unsubscribe from the observable sequence.
or is null.
Provides a set of static methods for creating observers.
Creates an observer from a notification callback.
The type of the elements received by the observer.
Action that handles a notification.
The observer object that invokes the specified handler using a notification corresponding to each message it receives.
is null.
Creates a notification callback from an observer.
The type of the elements received by the observer.
Observer object.
The action that forwards its input notification to the underlying observer.
is null.
Creates an observer from the specified OnNext action.
The type of the elements received by the observer.
Observer's OnNext action implementation.
The observer object implemented using the given actions.
is null.
Creates an observer from the specified OnNext and OnError actions.
The type of the elements received by the observer.
Observer's OnNext action implementation.
Observer's OnError action implementation.
The observer object implemented using the given actions.
or is null.
Creates an observer from the specified OnNext and OnCompleted actions.
The type of the elements received by the observer.
Observer's OnNext action implementation.
Observer's OnCompleted action implementation.
The observer object implemented using the given actions.
or is null.
Creates an observer from the specified OnNext, OnError, and OnCompleted actions.
The type of the elements received by the observer.
Observer's OnNext action implementation.
Observer's OnError action implementation.
Observer's OnCompleted action implementation.
The observer object implemented using the given actions.
or or is null.
Hides the identity of an observer.
The type of the elements received by the source observer.
An observer whose identity to hide.
An observer that hides the identity of the specified observer.
is null.
Checks access to the observer for grammar violations. This includes checking for multiple OnError or OnCompleted calls, as well as reentrancy in any of the observer methods.
If a violation is detected, an InvalidOperationException is thrown from the offending observer method call.
The type of the elements received by the source observer.
The observer whose callback invocations should be checked for grammar violations.
An observer that checks callbacks invocations against the observer grammar and, if the checks pass, forwards those to the specified observer.
is null.
Synchronizes access to the observer such that its callback methods cannot be called concurrently from multiple threads. This overload is useful when coordinating access to an observer.
Notice reentrant observer callbacks on the same thread are still possible.
The type of the elements received by the source observer.
The observer whose callbacks should be synchronized.
An observer that delivers callbacks to the specified observer in a synchronized manner.
is null.
Because a Monitor is used to perform the synchronization, there's no protection against reentrancy from the same thread.
Hence, overlapped observer callbacks are still possible, which is invalid behavior according to the observer grammar. In order to protect against this behavior as
well, use the overload, passing true for the second parameter.
Synchronizes access to the observer such that its callback methods cannot be called concurrently. This overload is useful when coordinating access to an observer.
The parameter configures the type of lock used for synchronization.
The type of the elements received by the source observer.
The observer whose callbacks should be synchronized.
If set to true, reentrant observer callbacks will be queued up and get delivered to the observer in a sequential manner.
An observer that delivers callbacks to the specified observer in a synchronized manner.
is null.
When the parameter is set to false, behavior is identical to the overload which uses
a Monitor for synchronization. When the parameter is set to true, an
is used to queue up callbacks to the specified observer if a reentrant call is made.
Synchronizes access to the observer such that its callback methods cannot be called concurrently by multiple threads, using the specified gate object for use by a Monitor-based lock.
This overload is useful when coordinating multiple observers that access shared state by synchronizing on a common gate object.
Notice reentrant observer callbacks on the same thread are still possible.
The type of the elements received by the source observer.
The observer whose callbacks should be synchronized.
Gate object to synchronize each observer call on.
An observer that delivers callbacks to the specified observer in a synchronized manner.
or is null.
Because a Monitor is used to perform the synchronization, there's no protection against reentrancy from the same thread.
Hence, overlapped observer callbacks are still possible, which is invalid behavior according to the observer grammar. In order to protect against this behavior as
well, use the overload.
Synchronizes access to the observer such that its callback methods cannot be called concurrently, using the specified asynchronous lock to protect against concurrent and reentrant access.
This overload is useful when coordinating multiple observers that access shared state by synchronizing on a common asynchronous lock.
The type of the elements received by the source observer.
The observer whose callbacks should be synchronized.
Gate object to synchronize each observer call on.
An observer that delivers callbacks to the specified observer in a synchronized manner.
or is null.
Schedules the invocation of observer methods on the given scheduler.
The type of the elements received by the source observer.
The observer to schedule messages for.
Scheduler to schedule observer messages on.
Observer whose messages are scheduled on the given scheduler.
or is null.
Schedules the invocation of observer methods on the given synchonization context.
The type of the elements received by the source observer.
The observer to schedule messages for.
Synchonization context to schedule observer messages on.
Observer whose messages are scheduled on the given synchonization context.
or is null.
Converts an observer to a progress object.
The type of the progress objects received by the source observer.
The observer to convert.
Progress object whose Report messages correspond to the observer's OnNext messages.
is null.
Converts an observer to a progress object, using the specified scheduler to invoke the progress reporting method.
The type of the progress objects received by the source observer.
The observer to convert.
Scheduler to report progress on.
Progress object whose Report messages correspond to the observer's OnNext messages.
or is null.
Converts a progress object to an observer.
The type of the progress objects received by the progress reporter.
The progress object to convert.
Observer whose OnNext messages correspond to the progress object's Report messages.
is null.
Class to create an IObservable<T> instance from a delegate-based implementation of the Subscribe method.
The type of the elements in the sequence.
Abstract base class for implementations of the IObservable<T> interface.
If you don't need a named type to create an observable sequence (i.e. you rather need
an instance rather than a reusable type), use the Observable.Create method to create
an observable sequence with specified subscription behavior.
The type of the elements in the sequence.
Subscribes the given observer to the observable sequence.
Observer that will receive notifications from the observable sequence.
Disposable object representing an observer's subscription to the observable sequence.
is null.
Implement this method with the core subscription logic for the observable sequence.
Observer to send notifications to.
Disposable object representing an observer's subscription to the observable sequence.
Creates an observable sequence object from the specified subscription function.
Subscribe method implementation.
is null.
Calls the subscription function that was supplied to the constructor.
Observer to send notifications to.
Disposable object representing an observer's subscription to the observable sequence.
Class to create an IObserver<T> instance from delegate-based implementations of the On* methods.
The type of the elements in the sequence.
Abstract base class for implementations of the IObserver<T> interface.
This base class enforces the grammar of observers where OnError and OnCompleted are terminal messages.
The type of the elements in the sequence.
Creates a new observer in a non-stopped state.
Notifies the observer of a new element in the sequence.
Next element in the sequence.
Implement this method to react to the receival of a new element in the sequence.
Next element in the sequence.
This method only gets called when the observer hasn't stopped yet.
Notifies the observer that an exception has occurred.
The error that has occurred.
is null.
Implement this method to react to the occurrence of an exception.
The error that has occurred.
This method only gets called when the observer hasn't stopped yet, and causes the observer to stop.
Notifies the observer of the end of the sequence.
Implement this method to react to the end of the sequence.
This method only gets called when the observer hasn't stopped yet, and causes the observer to stop.
Disposes the observer, causing it to transition to the stopped state.
Core implementation of IDisposable.
true if the Dispose call was triggered by the IDisposable.Dispose method; false if it was triggered by the finalizer.
Creates an observer from the specified OnNext, OnError, and OnCompleted actions.
Observer's OnNext action implementation.
Observer's OnError action implementation.
Observer's OnCompleted action implementation.
or or is null.
Creates an observer from the specified OnNext action.
Observer's OnNext action implementation.
is null.
Creates an observer from the specified OnNext and OnError actions.
Observer's OnNext action implementation.
Observer's OnError action implementation.
or is null.
Creates an observer from the specified OnNext and OnCompleted actions.
Observer's OnNext action implementation.
Observer's OnCompleted action implementation.
or is null.
Calls the onNext action.
Next element in the sequence.
Calls the onError action.
The error that has occurred.
Calls the onCompleted action.
This class fuses logic from ObserverBase, AnonymousObserver, and SafeObserver into one class. When an observer
needs to be safeguarded, an instance of this type can be created by SafeObserver.Create when it detects its
input is an AnonymousObserver, which is commonly used by end users when using the Subscribe extension methods
that accept delegates for the On* handlers. By doing the fusion, we make the call stack depth shorter which
helps debugging and some performance.
Asynchronous lock.
Queues the action for execution. If the caller acquires the lock and becomes the owner,
the queue is processed. If the lock is already owned, the action is queued and will get
processed by the owner.
Action to queue for execution.
is null.
Clears the work items in the queue and drops further work being queued.
(Infrastructure) Concurrency abstraction layer.
Gets the current CAL. If no CAL has been set yet, it will be initialized to the default.
(Infrastructure) Concurrency abstraction layer interface.
This type is used by the Rx infrastructure and not meant for public consumption or implementation.
No guarantees are made about forward compatibility of the type's functionality and its usage.
Queues a method for execution at the specified relative time.
Method to execute.
State to pass to the method.
Time to execute the method on.
Disposable object that can be used to stop the timer.
Queues a method for periodic execution based on the specified period.
Method to execute; should be safe for reentrancy.
Period for running the method periodically.
Disposable object that can be used to stop the timer.
Queues a method for execution.
Method to execute.
State to pass to the method.
Disposable object that can be used to cancel the queued method.
Blocking sleep operation.
Time to sleep.
Starts a new stopwatch object.
New stopwatch object; started at the time of the request.
Starts a new long-running thread.
Method to execute.
State to pass to the method.
Gets whether long-running scheduling is supported.
Provides a set of static properties to access commonly used schedulers.
Returns a scheduler that represents the original scheduler, without any of its interface-based optimizations (e.g. long running scheduling).
Scheduler to disable all optimizations for.
Proxy to the original scheduler but without any optimizations enabled.
is null.
Returns a scheduler that represents the original scheduler, without the specified set of interface-based optimizations (e.g. long running scheduling).
Scheduler to disable the specified optimizations for.
Types of the optimization interfaces that have to be disabled.
Proxy to the original scheduler but without the specified optimizations enabled.
or is null.
Returns a scheduler that wraps the original scheduler, adding exception handling for scheduled actions.
Type of the exception to check for.
Scheduler to apply an exception filter for.
Handler that's run if an exception is caught. The exception will be rethrown if the handler returns false.
Wrapper around the original scheduler, enforcing exception handling.
or is null.
Schedules a periodic piece of work by dynamically discovering the scheduler's capabilities.
If the scheduler supports periodic scheduling, the request will be forwarded to the periodic scheduling implementation.
If the scheduler provides stopwatch functionality, the periodic task will be emulated using recursive scheduling with a stopwatch to correct for time slippage.
Otherwise, the periodic task will be emulated using recursive scheduling.
The type of the state passed to the scheduled action.
The scheduler to run periodic work on.
Initial state passed to the action upon the first iteration.
Period for running the work periodically.
Action to be executed, potentially updating the state.
The disposable object used to cancel the scheduled recurring action (best effort).
or is null.
is less than TimeSpan.Zero.
Schedules a periodic piece of work by dynamically discovering the scheduler's capabilities.
If the scheduler supports periodic scheduling, the request will be forwarded to the periodic scheduling implementation.
If the scheduler provides stopwatch functionality, the periodic task will be emulated using recursive scheduling with a stopwatch to correct for time slippage.
Otherwise, the periodic task will be emulated using recursive scheduling.
The type of the state passed to the scheduled action.
Scheduler to execute the action on.
State passed to the action to be executed.
Period for running the work periodically.
Action to be executed.
The disposable object used to cancel the scheduled recurring action (best effort).
or is null.
is less than TimeSpan.Zero.
Schedules a periodic piece of work by dynamically discovering the scheduler's capabilities.
If the scheduler supports periodic scheduling, the request will be forwarded to the periodic scheduling implementation.
If the scheduler provides stopwatch functionality, the periodic task will be emulated using recursive scheduling with a stopwatch to correct for time slippage.
Otherwise, the periodic task will be emulated using recursive scheduling.
Scheduler to execute the action on.
Period for running the work periodically.
Action to be executed.
The disposable object used to cancel the scheduled recurring action (best effort).
or is null.
is less than TimeSpan.Zero.
Starts a new stopwatch object by dynamically discovering the scheduler's capabilities.
If the scheduler provides stopwatch functionality, the request will be forwarded to the stopwatch provider implementation.
Otherwise, the stopwatch will be emulated using the scheduler's notion of absolute time.
Scheduler to obtain a stopwatch for.
New stopwatch object; started at the time of the request.
is null.
The resulting stopwatch object can have non-monotonic behavior.
Returns the ISchedulerLongRunning implementation of the specified scheduler, or null if no such implementation is available.
Scheduler to get the ISchedulerLongRunning implementation for.
The scheduler's ISchedulerLongRunning implementation if available; null otherwise.
This helper method is made available for query operator authors in order to discover scheduler services by using the required
IServiceProvider pattern, which allows for interception or redefinition of scheduler services.
Returns the IStopwatchProvider implementation of the specified scheduler, or null if no such implementation is available.
Scheduler to get the IStopwatchProvider implementation for.
The scheduler's IStopwatchProvider implementation if available; null otherwise.
This helper method is made available for query operator authors in order to discover scheduler services by using the required
IServiceProvider pattern, which allows for interception or redefinition of scheduler services.
Consider using in case a stopwatch is required, but use of emulation stopwatch based
on the scheduler's clock is acceptable. Use of this method is recommended for best-effort use of the stopwatch provider
scheduler service, where the caller falls back to not using stopwatches if this facility wasn't found.
Returns the IStopwatchProvider implementation of the specified scheduler, or null if no such implementation is available.
Scheduler to get the IStopwatchProvider implementation for.
The scheduler's IStopwatchProvider implementation if available; null otherwise.
This helper method is made available for query operator authors in order to discover scheduler services by using the required
IServiceProvider pattern, which allows for interception or redefinition of scheduler services.
Consider using the Scheduler.SchedulePeriodic extension methods for IScheduler in case periodic scheduling is required and
emulation of periodic behavior using other scheduler services is desirable. Use of this method is recommended for best-effort
use of the periodic scheduling service, where the caller falls back to not using periodic scheduling if this facility wasn't
found.
Yields execution of the current work item on the scheduler to another work item on the scheduler.
The caller should await the result of calling Yield to schedule the remainder of the current work item (known as the continuation).
Scheduler to yield work on.
Scheduler operation object to await in order to schedule the continuation.
is null.
Yields execution of the current work item on the scheduler to another work item on the scheduler.
The caller should await the result of calling Yield to schedule the remainder of the current work item (known as the continuation).
Scheduler to yield work on.
Cancellation token to cancel the continuation to run.
Scheduler operation object to await in order to schedule the continuation.
is null.
Suspends execution of the current work item on the scheduler for the specified duration.
The caller should await the result of calling Sleep to schedule the remainder of the current work item (known as the continuation) after the specified duration.
Scheduler to yield work on.
Time when the continuation should run.
Scheduler operation object to await in order to schedule the continuation.
is null.
Suspends execution of the current work item on the scheduler for the specified duration.
The caller should await the result of calling Sleep to schedule the remainder of the current work item (known as the continuation) after the specified duration.
Scheduler to yield work on.
Time when the continuation should run.
Cancellation token to cancel the continuation to run.
Scheduler operation object to await in order to schedule the continuation.
is null.
Suspends execution of the current work item on the scheduler until the specified due time.
The caller should await the result of calling Sleep to schedule the remainder of the current work item (known as the continuation) at the specified due time.
Scheduler to yield work on.
Time when the continuation should run.
Scheduler operation object to await in order to schedule the continuation.
is null.
Suspends execution of the current work item on the scheduler until the specified due time.
The caller should await the result of calling Sleep to schedule the remainder of the current work item (known as the continuation) at the specified due time.
Scheduler to yield work on.
Time when the continuation should run.
Cancellation token to cancel the continuation to run.
Scheduler operation object to await in order to schedule the continuation.
is null.
Schedules work using an asynchronous method, allowing for cooperative scheduling in an imperative coding style.
The type of the state passed to the scheduled action.
Scheduler to schedule work on.
State to pass to the asynchronous method.
Asynchronous method to run the work, using Yield and Sleep operations for cooperative scheduling and injection of cancellation points.
Disposable object that allows to cancel outstanding work on cooperative cancellation points or through the cancellation token passed to the asynchronous method.
or is null.
Schedules work using an asynchronous method, allowing for cooperative scheduling in an imperative coding style.
The type of the state passed to the scheduled action.
Scheduler to schedule work on.
State to pass to the asynchronous method.
Asynchronous method to run the work, using Yield and Sleep operations for cooperative scheduling and injection of cancellation points.
Disposable object that allows to cancel outstanding work on cooperative cancellation points or through the cancellation token passed to the asynchronous method.
or is null.
Schedules work using an asynchronous method, allowing for cooperative scheduling in an imperative coding style.
Scheduler to schedule work on.
Asynchronous method to run the work, using Yield and Sleep operations for cooperative scheduling and injection of cancellation points.
Disposable object that allows to cancel outstanding work on cooperative cancellation points or through the cancellation token passed to the asynchronous method.
or is null.
Schedules work using an asynchronous method, allowing for cooperative scheduling in an imperative coding style.
Scheduler to schedule work on.
Asynchronous method to run the work, using Yield and Sleep operations for cooperative scheduling and injection of cancellation points.
Disposable object that allows to cancel outstanding work on cooperative cancellation points or through the cancellation token passed to the asynchronous method.
or is null.
Schedules work using an asynchronous method, allowing for cooperative scheduling in an imperative coding style.
The type of the state passed to the scheduled action.
Scheduler to schedule work on.
State to pass to the asynchronous method.
Relative time after which to execute the action.
Asynchronous method to run the work, using Yield and Sleep operations for cooperative scheduling and injection of cancellation points.
Disposable object that allows to cancel outstanding work on cooperative cancellation points or through the cancellation token passed to the asynchronous method.
or is null.
Schedules work using an asynchronous method, allowing for cooperative scheduling in an imperative coding style.
The type of the state passed to the scheduled action.
Scheduler to schedule work on.
State to pass to the asynchronous method.
Relative time after which to execute the action.
Asynchronous method to run the work, using Yield and Sleep operations for cooperative scheduling and injection of cancellation points.
Disposable object that allows to cancel outstanding work on cooperative cancellation points or through the cancellation token passed to the asynchronous method.
or is null.
Schedules work using an asynchronous method, allowing for cooperative scheduling in an imperative coding style.
Scheduler to schedule work on.
Relative time after which to execute the action.
Asynchronous method to run the work, using Yield and Sleep operations for cooperative scheduling and injection of cancellation points.
Disposable object that allows to cancel outstanding work on cooperative cancellation points or through the cancellation token passed to the asynchronous method.
or is null.
Schedules work using an asynchronous method, allowing for cooperative scheduling in an imperative coding style.
Scheduler to schedule work on.
Relative time after which to execute the action.
Asynchronous method to run the work, using Yield and Sleep operations for cooperative scheduling and injection of cancellation points.
Disposable object that allows to cancel outstanding work on cooperative cancellation points or through the cancellation token passed to the asynchronous method.
or is null.
Schedules work using an asynchronous method, allowing for cooperative scheduling in an imperative coding style.
The type of the state passed to the scheduled action.
Scheduler to schedule work on.
State to pass to the asynchronous method.
Absolute time at which to execute the action.
Asynchronous method to run the work, using Yield and Sleep operations for cooperative scheduling and injection of cancellation points.
Disposable object that allows to cancel outstanding work on cooperative cancellation points or through the cancellation token passed to the asynchronous method.
or is null.
Schedules work using an asynchronous method, allowing for cooperative scheduling in an imperative coding style.
The type of the state passed to the scheduled action.
Scheduler to schedule work on.
State to pass to the asynchronous method.
Absolute time at which to execute the action.
Asynchronous method to run the work, using Yield and Sleep operations for cooperative scheduling and injection of cancellation points.
Disposable object that allows to cancel outstanding work on cooperative cancellation points or through the cancellation token passed to the asynchronous method.
or is null.
Schedules work using an asynchronous method, allowing for cooperative scheduling in an imperative coding style.
Scheduler to schedule work on.
Absolute time at which to execute the action.
Asynchronous method to run the work, using Yield and Sleep operations for cooperative scheduling and injection of cancellation points.
Disposable object that allows to cancel outstanding work on cooperative cancellation points or through the cancellation token passed to the asynchronous method.
or is null.
Schedules work using an asynchronous method, allowing for cooperative scheduling in an imperative coding style.
Scheduler to schedule work on.
Absolute time at which to execute the action.
Asynchronous method to run the work, using Yield and Sleep operations for cooperative scheduling and injection of cancellation points.
Disposable object that allows to cancel outstanding work on cooperative cancellation points or through the cancellation token passed to the asynchronous method.
or is null.
Normalizes the specified TimeSpan value to a positive value.
The TimeSpan value to normalize.
The specified TimeSpan value if it is zero or positive; otherwise, TimeSpan.Zero.
Schedules an action to be executed recursively.
Scheduler to execute the recursive action on.
Action to execute recursively. The parameter passed to the action is used to trigger recursive scheduling of the action.
The disposable object used to cancel the scheduled action (best effort).
or is null.
Schedules an action to be executed recursively.
The type of the state passed to the scheduled action.
Scheduler to execute the recursive action on.
State passed to the action to be executed.
Action to execute recursively. The last parameter passed to the action is used to trigger recursive scheduling of the action, passing in recursive invocation state.
The disposable object used to cancel the scheduled action (best effort).
or is null.
Schedules an action to be executed recursively after a specified relative due time.
Scheduler to execute the recursive action on.
Action to execute recursively. The parameter passed to the action is used to trigger recursive scheduling of the action at the specified relative time.
Relative time after which to execute the action for the first time.
The disposable object used to cancel the scheduled action (best effort).
or is null.
Schedules an action to be executed recursively after a specified relative due time.
The type of the state passed to the scheduled action.
Scheduler to execute the recursive action on.
State passed to the action to be executed.
Action to execute recursively. The last parameter passed to the action is used to trigger recursive scheduling of the action, passing in the recursive due time and invocation state.
Relative time after which to execute the action for the first time.
The disposable object used to cancel the scheduled action (best effort).
or is null.
Schedules an action to be executed recursively at a specified absolute due time.
Scheduler to execute the recursive action on.
Action to execute recursively. The parameter passed to the action is used to trigger recursive scheduling of the action at the specified absolute time.
Absolute time at which to execute the action for the first time.
The disposable object used to cancel the scheduled action (best effort).
or is null.
Schedules an action to be executed recursively at a specified absolute due time.
The type of the state passed to the scheduled action.
Scheduler to execute the recursive action on.
State passed to the action to be executed.
Action to execute recursively. The last parameter passed to the action is used to trigger recursive scheduling of the action, passing in the recursive due time and invocation state.
Absolute time at which to execute the action for the first time.
The disposable object used to cancel the scheduled action (best effort).
or is null.
Schedules an action to be executed.
Scheduler to execute the action on.
Action to execute.
The disposable object used to cancel the scheduled action (best effort).
or is null.
Schedules an action to be executed after the specified relative due time.
Scheduler to execute the action on.
Action to execute.
Relative time after which to execute the action.
The disposable object used to cancel the scheduled action (best effort).
or is null.
Schedules an action to be executed at the specified absolute due time.
Scheduler to execute the action on.
Action to execute.
Absolute time at which to execute the action.
The disposable object used to cancel the scheduled action (best effort).
or is null.
Schedules an action to be executed.
Scheduler to execute the action on.
Action to execute.
The disposable object used to cancel the scheduled action (best effort).
or is null.
Gets the current time according to the local machine's system clock.
Gets a scheduler that schedules work immediately on the current thread.
Gets a scheduler that schedules work as soon as possible on the current thread.
Gets a scheduler that schedules work on the platform's default scheduler.
Gets a scheduler that schedules work on the thread pool.
Gets a scheduler that schedules work on a new thread using default thread creation options.
Gets a scheduler that schedules work on Task Parallel Library (TPL) task pool using the default TaskScheduler.
Abstract base class for machine-local schedulers, using the local system clock for time-based operations.
Maximum error ratio for timer drift. We've seen machines with 10s drift on a
daily basis, which is in the order 10E-4, so we allow for extra margin here.
This value is used to calculate early arrival for the long term queue timer
that will reevaluate work for the short term queue.
Example: -------------------------------...---------------------*-----$
^ ^
| |
early due
0.999 1.0
We also make the gap between early and due at least LONGTOSHORT so we have
enough time to transition work to short term and as a courtesy to the
destination scheduler to manage its queues etc.
Gate to protect queues and to synchronize scheduling decisions and system clock
change management.
Long term work queue. Contains work that's due beyond SHORTTERM, computed at the
time of enqueueing.
Disposable resource for the long term timer that will reevaluate and dispatch the
first item in the long term queue. A serial disposable is used to make "dispose
current and assign new" logic easier. The disposable itself is never disposed.
Item at the head of the long term queue for which the current long term timer is
running. Used to detect changes in the queue and decide whether we should replace
or can continue using the current timer (because no earlier long term work was
added to the queue).
Short term work queue. Contains work that's due soon, computed at the time of
enqueueing or upon reevaluation of the long term queue causing migration of work
items. This queue is kept in order to be able to relocate short term items back
to the long term queue in case a system clock change occurs.
Set of disposable handles to all of the current short term work Schedule calls,
allowing those to be cancelled upon a system clock change.
Threshold where an item is considered to be short term work or gets moved from
long term to short term.
Minimum threshold for the long term timer to fire before the queue is reevaluated
for short term work. This value is chosen to be less than SHORTTERM in order to
ensure the timer fires and has work to transition to the short term queue.
Threshold used to determine when a short term timer has fired too early compared
to the absolute due time. This provides a last chance protection against early
completion of scheduled work, which can happen in case of time adjustment in the
operating system (cf. GetSystemTimeAdjustment).
Longest interval supported by .
Enqueues absolute time scheduled work in the timer queue or the short term work list.
Scheduler to run the work on. Typically "this" from the caller's perspective (LocalScheduler.Schedule), but parameter kept because we have a single (static) timer queue across all of Rx local schedulers.
State to pass to the action.
Absolute time to run the work on. The timer queue is responsible to execute the work close to the specified time, also accounting for system clock changes.
Action to run, potentially recursing into the scheduler.
Disposable object to prevent the work from running.
Schedule work that's due in the short term. This leads to relative scheduling calls to the
underlying scheduler for short TimeSpan values. If the system clock changes in the meantime,
the short term work is attempted to be cancelled and reevaluated.
Work item to schedule in the short term. The caller is responsible to determine the work is indeed short term.
Callback to process the next short term work item.
Recursive scheduler supplied by the underlying scheduler.
Disposable used to identify the work the timer was triggered for (see code for usage).
Empty disposable. Recursive work cancellation is wired through the original WorkItem.
Schedule work that's due on the long term. This leads to the work being queued up for
eventual transitioning to the short term work list.
Work item to schedule on the long term. The caller is responsible to determine the work is indeed long term.
Updates the long term timer which is responsible to transition work from the head of the
long term queue to the short term work list.
Should be called under the scheduler lock.
Evaluates the long term queue, transitioning short term work to the short term list,
and adjusting the new long term processing timer accordingly.
Ignored.
Callback invoked when a system clock change is observed in order to adjust and reevaluate
the internal scheduling queues.
Currently not used.
Currently not used.
Schedules an action to be executed.
The type of the state passed to the scheduled action.
State passed to the action to be executed.
Action to be executed.
The disposable object used to cancel the scheduled action (best effort).
is null.
Schedules an action to be executed after dueTime.
The type of the state passed to the scheduled action.
State passed to the action to be executed.
Action to be executed.
Relative time after which to execute the action.
The disposable object used to cancel the scheduled action (best effort).
Schedules an action to be executed at dueTime.
The type of the state passed to the scheduled action.
State passed to the action to be executed.
Action to be executed.
Absolute time at which to execute the action.
The disposable object used to cancel the scheduled action (best effort).
is null.
Starts a new stopwatch object.
New stopwatch object; started at the time of the request.
Platform-specific scheduler implementations should reimplement IStopwatchProvider to provide a more
efficient IStopwatch implementation (if available).
Discovers scheduler services by interface type. The base class implementation returns
requested services for each scheduler interface implemented by the derived class. For
more control over service discovery, derived types can override this method.
Scheduler service interface type to discover.
Object implementing the requested service, if available; null otherwise.
Gets the scheduler's notion of current time.
Represents a work item in the absolute time scheduler.
This type is very similar to ScheduledItem, but we need a different Invoke signature to allow customization
of the target scheduler (e.g. when called in a recursive scheduling context, see ExecuteNextShortTermWorkItem).
Represents a work item that closes over scheduler invocation state. Subtyping is
used to have a common type for the scheduler queues.
Represents an object that schedules units of work on the current thread.
Singleton instance of this type exposed through this static property.
Schedules an action to be executed after dueTime.
The type of the state passed to the scheduled action.
State passed to the action to be executed.
Action to be executed.
Relative time after which to execute the action.
The disposable object used to cancel the scheduled action (best effort).
is null.
Gets the singleton instance of the current thread scheduler.
Gets a value that indicates whether the caller must call a Schedule method.
Gets a value that indicates whether the caller must call a Schedule method.
Represents an object that schedules units of work to run immediately on the current thread.
Singleton instance of this type exposed through this static property.
Schedules an action to be executed.
The type of the state passed to the scheduled action.
State passed to the action to be executed.
Action to be executed.
The disposable object used to cancel the scheduled action (best effort).
is null.
Schedules an action to be executed after dueTime.
The type of the state passed to the scheduled action.
State passed to the action to be executed.
Action to be executed.
Relative time after which to execute the action.
The disposable object used to cancel the scheduled action (best effort).
is null.
Gets the singleton instance of the immediate scheduler.
Abstract base class for scheduled work items.
Absolute time representation type.
Creates a new scheduled work item to run at the specified time.
Absolute time at which the work item has to be executed.
Comparer used to compare work items based on their scheduled time.
is null.
Invokes the work item.
Implement this method to perform the work item invocation, returning a disposable object for deep cancellation.
Disposable object used to cancel the work item and/or derived work items.
Compares the work item with another work item based on absolute time values.
Work item to compare the current work item to.
Relative ordering between this and the specified work item.
The inequality operators are overloaded to provide results consistent with the IComparable implementation. Equality operators implement traditional reference equality semantics.
Determines whether one specified ScheduledItem<TAbsolute> object is due before a second specified ScheduledItem<TAbsolute> object.
The first object to compare.
The second object to compare.
true if the DueTime value of left is earlier than the DueTime value of right; otherwise, false.
This operator provides results consistent with the IComparable implementation.
Determines whether one specified ScheduledItem<TAbsolute> object is due before or at the same of a second specified ScheduledItem<TAbsolute> object.
The first object to compare.
The second object to compare.
true if the DueTime value of left is earlier than or simultaneous with the DueTime value of right; otherwise, false.
This operator provides results consistent with the IComparable implementation.
Determines whether one specified ScheduledItem<TAbsolute> object is due after a second specified ScheduledItem<TAbsolute> object.
The first object to compare.
The second object to compare.
true if the DueTime value of left is later than the DueTime value of right; otherwise, false.
This operator provides results consistent with the IComparable implementation.
Determines whether one specified ScheduledItem<TAbsolute> object is due after or at the same time of a second specified ScheduledItem<TAbsolute> object.
The first object to compare.
The second object to compare.
true if the DueTime value of left is later than or simultaneous with the DueTime value of right; otherwise, false.
This operator provides results consistent with the IComparable implementation.
Determines whether two specified ScheduledItem<TAbsolute, TValue> objects are equal.
The first object to compare.
The second object to compare.
true if both ScheduledItem<TAbsolute, TValue> are equal; otherwise, false.
This operator does not provide results consistent with the IComparable implementation. Instead, it implements reference equality.
Determines whether two specified ScheduledItem<TAbsolute, TValue> objects are inequal.
The first object to compare.
The second object to compare.
true if both ScheduledItem<TAbsolute, TValue> are inequal; otherwise, false.
This operator does not provide results consistent with the IComparable implementation. Instead, it implements reference equality.
Determines whether a ScheduledItem<TAbsolute> object is equal to the specified object.
The object to compare to the current ScheduledItem<TAbsolute> object.
true if the obj parameter is a ScheduledItem<TAbsolute> object and is equal to the current ScheduledItem<TAbsolute> object; otherwise, false.
Returns the hash code for the current ScheduledItem<TAbsolute> object.
A 32-bit signed integer hash code.
Cancels the work item by disposing the resource returned by InvokeCore as soon as possible.
Gets the absolute time at which the item is due for invocation.
Gets whether the work item has received a cancellation request.
Represents a scheduled work item based on the materialization of an IScheduler.Schedule method call.
Absolute time representation type.
Type of the state passed to the scheduled action.
Creates a materialized work item.
Recursive scheduler to invoke the scheduled action with.
State to pass to the scheduled action.
Scheduled action.
Time at which to run the scheduled action.
Comparer used to compare work items based on their scheduled time.
or or is null.
Creates a materialized work item.
Recursive scheduler to invoke the scheduled action with.
State to pass to the scheduled action.
Scheduled action.
Time at which to run the scheduled action.
or is null.
Invokes the scheduled action with the supplied recursive scheduler and state.
Cancellation resource returned by the scheduled action.
Represents an awaitable scheduler operation. Awaiting the object causes the continuation to be posted back to the originating scheduler's work queue.
Controls whether the continuation is run on the originating synchronization context (false by default).
true to run the continuation on the captured synchronization context; false otherwise (default).
Scheduler operation object with configured await behavior.
Gets an awaiter for the scheduler operation, used to post back the continuation.
Awaiter for the scheduler operation.
(Infrastructure) Scheduler operation awaiter type used by the code generated for C# await and Visual Basic Await expressions.
Completes the scheduler operation, throwing an OperationCanceledException in case cancellation was requested.
Registers the continuation with the scheduler operation.
Continuation to be run on the originating scheduler.
Indicates whether the scheduler operation has completed. Returns false unless cancellation was already requested.
Efficient scheduler queue that maintains scheduled items sorted by absolute time.
Absolute time representation type.
This type is not thread safe; users should ensure proper synchronization.
Creates a new scheduler queue with a default initial capacity.
Creats a new scheduler queue with the specified initial capacity.
Initial capacity of the scheduler queue.
is less than zero.
Enqueues the specified work item to be scheduled.
Work item to be scheduled.
Removes the specified work item from the scheduler queue.
Work item to be removed from the scheduler queue.
true if the item was found; false otherwise.
Dequeues the next work item from the scheduler queue.
Next work item in the scheduler queue (removed).
Peeks the next work item in the scheduler queue.
Next work item in the scheduler queue (not removed).
Gets the number of scheduled items in the scheduler queue.
Provides basic synchronization and scheduling services for observable sequences.
Wraps the source sequence in order to run its subscription and unsubscription logic on the specified scheduler.
The type of the elements in the source sequence.
Source sequence.
Scheduler to perform subscription and unsubscription actions on.
The source sequence whose subscriptions and unsubscriptions happen on the specified scheduler.
or is null.
Only the side-effects of subscribing to the source sequence and disposing subscriptions to the source sequence are run on the specified scheduler.
In order to invoke observer callbacks on the specified scheduler, e.g. to offload callback processing to a dedicated thread, use .
Wraps the source sequence in order to run its subscription and unsubscription logic on the specified synchronization context.
The type of the elements in the source sequence.
Source sequence.
Synchronization context to perform subscription and unsubscription actions on.
The source sequence whose subscriptions and unsubscriptions happen on the specified synchronization context.
or is null.
Only the side-effects of subscribing to the source sequence and disposing subscriptions to the source sequence are run on the specified synchronization context.
In order to invoke observer callbacks on the specified synchronization context, e.g. to post callbacks to a UI thread represented by the synchronization context, use .
Wraps the source sequence in order to run its observer callbacks on the specified scheduler.
The type of the elements in the source sequence.
Source sequence.
Scheduler to notify observers on.
The source sequence whose observations happen on the specified scheduler.
or is null.
Wraps the source sequence in order to run its observer callbacks on the specified synchronization context.
The type of the elements in the source sequence.
Source sequence.
Synchronization context to notify observers on.
The source sequence whose observations happen on the specified synchronization context.
or is null.
Wraps the source sequence in order to ensure observer callbacks are properly serialized.
The type of the elements in the source sequence.
Source sequence.
The source sequence whose outgoing calls to observers are synchronized.
is null.
Wraps the source sequence in order to ensure observer callbacks are synchronized using the specified gate object.
The type of the elements in the source sequence.
Source sequence.
Gate object to synchronize each observer call on.
The source sequence whose outgoing calls to observers are synchronized on the given gate object.
or is null.
Base class for implementation of query operators, providing performance benefits over the use of Observable.Create.
Type of the resulting sequence's elements.
Interface with variance annotation; allows for better type checking when detecting capabilities in SubscribeSafe.
Type of the resulting sequence's elements.
Publicly visible Subscribe method.
Observer to send notifications on. The implementation of a producer must ensure the correct message grammar on the observer.
IDisposable to cancel the subscription. This causes the underlying sink to be notified of unsubscription, causing it to prevent further messages from being sent to the observer.
Core implementation of the query operator, called upon a new subscription to the producer object.
Observer to send notifications on. The implementation of a producer must ensure the correct message grammar on the observer.
The subscription disposable object returned from the Run call, passed in such that it can be forwarded to the sink, allowing it to dispose the subscription upon sending a final message (or prematurely for other reasons).
Callback to communicate the sink object to the subscriber, allowing consumers to tunnel a Dispose call into the sink, which can stop the processing.
Disposable representing all the resources and/or subscriptions the operator uses to process events.
The observer passed in to this method is not protected using auto-detach behavior upon an OnError or OnCompleted call. The implementation must ensure proper resource disposal and enforce the message grammar.
Base class for implementation of query operators, providing a lightweight sink that can be disposed to mute the outgoing observer.
Type of the resulting sequence's elements.
Implementations of sinks are responsible to enforce the message grammar on the associated observer. Upon sending a terminal message, a pairing Dispose call should be made to trigger cancellation of related resources and to mute the outgoing observer.
Represents an object that schedules units of work on a provided .
Creates an object that schedules units of work on the provided .
Synchronization context to schedule units of work on.
is null.
Creates an object that schedules units of work on the provided .
Synchronization context to schedule units of work on.
Configures whether scheduling always posts to the synchronization context, regardless whether the caller is on the same synchronization context.
is null.
Schedules an action to be executed.
The type of the state passed to the scheduled action.
State passed to the action to be executed.
Action to be executed.
The disposable object used to cancel the scheduled action (best effort).
is null.
Schedules an action to be executed after dueTime.
The type of the state passed to the scheduled action.
State passed to the action to be executed.
Action to be executed.
Relative time after which to execute the action.
The disposable object used to cancel the scheduled action (best effort).
is null.
Represents an object that schedules units of work on the platform's default scheduler.
Singleton instance of this type exposed through this static property.
Schedules an action to be executed.
The type of the state passed to the scheduled action.
State passed to the action to be executed.
Action to be executed.
The disposable object used to cancel the scheduled action (best effort).
is null.
Schedules an action to be executed after dueTime, using a System.Threading.Timer object.
The type of the state passed to the scheduled action.
State passed to the action to be executed.
Action to be executed.
Relative time after which to execute the action.
The disposable object used to cancel the scheduled action (best effort).
is null.
Schedules a periodic piece of work, using a System.Threading.Timer object.
The type of the state passed to the scheduled action.
Initial state passed to the action upon the first iteration.
Period for running the work periodically.
Action to be executed, potentially updating the state.
The disposable object used to cancel the scheduled recurring action (best effort).
is less than TimeSpan.Zero.
is null.
Discovers scheduler services by interface type.
Scheduler service interface type to discover.
Object implementing the requested service, if available; null otherwise.
Gets the singleton instance of the default scheduler.
Represents an Action-based disposable.
Constructs a new disposable with the given action used for disposal.
Disposal action which will be run upon calling Dispose.
Calls the disposal action if and only if the current instance hasn't been disposed yet.
Gets a value that indicates whether the object is disposed.
Represents a disposable resource that can be checked for disposal status.
Initializes a new instance of the class.
Sets the status to disposed, which can be observer through the property.
Gets a value that indicates whether the object is disposed.
Represents a disposable resource that has an associated that will be set to the cancellation requested state upon disposal.
Initializes a new instance of the class that uses an existing .
used for cancellation.
is null.
Initializes a new instance of the class that uses a new .
Cancels the underlying .
Gets the used by this CancellationDisposable.
Gets a value that indicates whether the object is disposed.
Represents a group of disposable resources that are disposed together.
Initializes a new instance of the class with no disposables contained by it initially.
Initializes a new instance of the class with the specified number of disposables.
The number of disposables that the new CompositeDisposable can initially store.
is less than zero.
Initializes a new instance of the class from a group of disposables.
Disposables that will be disposed together.
is null.
Initializes a new instance of the class from a group of disposables.
Disposables that will be disposed together.
is null.
Adds a disposable to the CompositeDisposable or disposes the disposable if the CompositeDisposable is disposed.
Disposable to add.
is null.
Removes and disposes the first occurrence of a disposable from the CompositeDisposable.
Disposable to remove.
true if found; false otherwise.
is null.
Disposes all disposables in the group and removes them from the group.
Removes and disposes all disposables from the CompositeDisposable, but does not dispose the CompositeDisposable.
Determines whether the CompositeDisposable contains a specific disposable.
Disposable to search for.
true if the disposable was found; otherwise, false.
is null.
Copies the disposables contained in the CompositeDisposable to an array, starting at a particular array index.
Array to copy the contained disposables to.
Target index at which to copy the first disposable of the group.
is null.
is less than zero. -or - is larger than or equal to the array length.
Returns an enumerator that iterates through the CompositeDisposable.
An enumerator to iterate over the disposables.
Returns an enumerator that iterates through the CompositeDisposable.
An enumerator to iterate over the disposables.
Gets the number of disposables contained in the CompositeDisposable.
Always returns false.
Gets a value that indicates whether the object is disposed.
Represents a disposable resource whose disposal invocation will be posted to the specified .
Initializes a new instance of the class that uses the specified on which to dispose the specified disposable resource.
Context to perform disposal on.
Disposable whose Dispose operation to run on the given synchronization context.
or is null.
Disposes the underlying disposable on the provided .
Gets the provided .
Gets a value that indicates whether the object is disposed.
Represents a disposable that does nothing on disposal.
Singleton default disposable.
Does nothing.
Provides a set of static methods for creating Disposables.
Creates a disposable object that invokes the specified action when disposed.
Action to run during the first call to . The action is guaranteed to be run at most once.
The disposable object that runs the given action upon disposal.
is null.
Gets the disposable that does nothing when disposed.
Represents a disposable resource whose underlying disposable resource can be swapped for another disposable resource.
Initializes a new instance of the class with no current underlying disposable.
Disposes the underlying disposable as well as all future replacements.
Gets a value that indicates whether the object is disposed.
Gets or sets the underlying disposable. After disposal, the result of getting this property is undefined.
If the MutableDisposable has already been disposed, assignment to this property causes immediate disposal of the given disposable object.
Represents a disposable resource that only disposes its underlying disposable resource when all dependent disposable objects have been disposed.
Initializes a new instance of the class with the specified disposable.
Underlying disposable.
is null.
Returns a dependent disposable that when disposed decreases the refcount on the underlying disposable.
A dependent disposable contributing to the reference count that manages the underlying disposable's lifetime.
Disposes the underlying disposable only when all dependent disposables have been disposed.
Gets a value that indicates whether the object is disposed.
Represents a disposable resource whose disposal invocation will be scheduled on the specified .
Initializes a new instance of the class that uses an on which to dispose the disposable.
Scheduler where the disposable resource will be disposed on.
Disposable resource to dispose on the given scheduler.
or is null.
Disposes the wrapped disposable on the provided scheduler.
Gets the scheduler where the disposable resource will be disposed on.
Gets the underlying disposable. After disposal, the result is undefined.
Gets a value that indicates whether the object is disposed.
Represents a disposable resource whose underlying disposable resource can be replaced by another disposable resource, causing automatic disposal of the previous underlying disposable resource.
Initializes a new instance of the class.
Disposes the underlying disposable as well as all future replacements.
Gets a value that indicates whether the object is disposed.
Gets or sets the underlying disposable.
If the SerialDisposable has already been disposed, assignment to this property causes immediate disposal of the given disposable object. Assigning this property disposes the previous disposable object.
Represents a disposable resource which only allows a single assignment of its underlying disposable resource.
If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an .
Initializes a new instance of the class.
Disposes the underlying disposable.
Gets a value that indicates whether the object is disposed.
Gets or sets the underlying disposable. After disposal, the result of getting this property is undefined.
Thrown if the SingleAssignmentDisposable has already been assigned to.
(Infrastructure) Services to rethrow exceptions.
This type is used by the Rx infrastructure and not meant for public consumption or implementation.
No guarantees are made about forward compatibility of the type's functionality and its usage.
Rethrows the specified exception.
Exception to rethrow.
(Infrastructure) Provides access to the host's lifecycle management services.
Adds a reference to the host lifecycle manager, causing it to be sending notifications.
Removes a reference to the host lifecycle manager, causing it to stop sending notifications
if the removed reference was the last one.
Event that gets raised when the host suspends the application.
Event that gets raised when the host resumes the application.
(Infrastructure) Provides notifications about the host's lifecycle events.
Event that gets raised when the host suspends.
Event that gets raised when the host resumes.
(Infrastructure) Event arguments for host suspension events.
(Infrastructure) Event arguments for host resumption events.
(Infrastructure) Interface for enlightenment providers.
This type is used by the Rx infrastructure and not meant for public consumption or implementation.
No guarantees are made about forward compatibility of the type's functionality and its usage.
(Infastructure) Tries to gets the specified service.
Service type.
Optional set of arguments.
Service instance or null if not found.
(Infrastructure) Provider for platform-specific framework enlightenments.
This type is used by the Rx infrastructure and not meant for public consumption or implementation.
(Infrastructure) Gets the current enlightenment provider. If none is loaded yet, accessing this property triggers provider resolution.
This member is used by the Rx infrastructure and not meant for public consumption or implementation.
(Infrastructure) Provides access to local system clock services.
This type is used by the Rx infrastructure and not meant for public consumption or implementation.
No guarantees are made about forward compatibility of the type's functionality and its usage.
Adds a reference to the system clock monitor, causing it to be sending notifications.
Thrown when the system doesn't support sending clock change notifications.
Removes a reference to the system clock monitor, causing it to stop sending notifications
if the removed reference was the last one.
Gets the local system clock time.
Event that gets raised when a system clock change is detected, if there's any interest as indicated by AddRef calls.
(Infrastructure) Provides access to the local system clock.
This type is used by the Rx infrastructure and not meant for public consumption or implementation.
No guarantees are made about forward compatibility of the type's functionality and its usage.
Gets the current time.
(Infrastructure) Provides a mechanism to notify local schedulers about system clock changes.
This type is used by the Rx infrastructure and not meant for public consumption or implementation.
No guarantees are made about forward compatibility of the type's functionality and its usage.
Event that gets raised when a system clock change is detected.
(Infrastructure) Event arguments for system clock change notifications.
This type is used by the Rx infrastructure and not meant for public consumption or implementation.
No guarantees are made about forward compatibility of the type's functionality and its usage.
Creates a new system clock notification object with unknown old and new times.
Creates a new system clock notification object with the specified old and new times.
Time before the system clock changed, or DateTimeOffset.MinValue if not known.
Time after the system clock changed, or DateTimeOffset.MaxValue if not known.
Gets the time before the system clock changed, or DateTimeOffset.MinValue if not known.
Gets the time after the system clock changed, or DateTimeOffset.MaxValue if not known.
(Infrastructure) Provides access to the local system clock.
Gets the current time.
(Infrastructure) Monitors for system clock changes based on a periodic timer.
Creates a new monitor for system clock changes with the specified polling frequency.
Polling frequency for system clock changes.
Event that gets raised when a system clock change is detected.
Indicates the type of a notification.
Represents an OnNext notification.
Represents an OnError notification.
Represents an OnCompleted notification.
Represents a notification to an observer.
The type of the elements received by the observer.
Default constructor used by derived types.
Determines whether the current Notification<T> object has the same observer message payload as a specified Notification<T> value.
An object to compare to the current Notification<T> object.
true if both Notification<T> objects have the same observer message payload; otherwise, false.
Equality of Notification<T> objects is based on the equality of the observer message payload they represent, including the notification Kind and the Value or Exception (if any).
This means two Notification<T> objects can be equal even though they don't represent the same observer method call, but have the same Kind and have equal parameters passed to the observer method.
In case one wants to determine whether two Notification<T> objects represent the same observer method call, use Object.ReferenceEquals identity equality instead.
Determines whether the two specified Notification<T> objects have the same observer message payload.
The first Notification<T> to compare, or null.
The second Notification<T> to compare, or null.
true if the first Notification<T> value has the same observer message payload as the second Notification<T> value; otherwise, false.
Equality of Notification<T> objects is based on the equality of the observer message payload they represent, including the notification Kind and the Value or Exception (if any).
This means two Notification<T> objects can be equal even though they don't represent the same observer method call, but have the same Kind and have equal parameters passed to the observer method.
In case one wants to determine whether two Notification<T> objects represent the same observer method call, use Object.ReferenceEquals identity equality instead.
Determines whether the two specified Notification<T> objects have a different observer message payload.
The first Notification<T> to compare, or null.
The second Notification<T> to compare, or null.
true if the first Notification<T> value has a different observer message payload as the second Notification<T> value; otherwise, false.
Equality of Notification<T> objects is based on the equality of the observer message payload they represent, including the notification Kind and the Value or Exception (if any).
This means two Notification<T> objects can be equal even though they don't represent the same observer method call, but have the same Kind and have equal parameters passed to the observer method.
In case one wants to determine whether two Notification<T> objects represent a different observer method call, use Object.ReferenceEquals identity equality instead.
Determines whether the specified System.Object is equal to the current Notification<T>.
The System.Object to compare with the current Notification<T>.
true if the specified System.Object is equal to the current Notification<T>; otherwise, false.
Equality of Notification<T> objects is based on the equality of the observer message payload they represent, including the notification Kind and the Value or Exception (if any).
This means two Notification<T> objects can be equal even though they don't represent the same observer method call, but have the same Kind and have equal parameters passed to the observer method.
In case one wants to determine whether two Notification<T> objects represent the same observer method call, use Object.ReferenceEquals identity equality instead.
Invokes the observer's method corresponding to the notification.
Observer to invoke the notification on.
Invokes the observer's method corresponding to the notification and returns the produced result.
The type of the result returned from the observer's notification handlers.
Observer to invoke the notification on.
Result produced by the observation.
Invokes the delegate corresponding to the notification.
Delegate to invoke for an OnNext notification.
Delegate to invoke for an OnError notification.
Delegate to invoke for an OnCompleted notification.
Invokes the delegate corresponding to the notification and returns the produced result.
The type of the result returned from the notification handler delegates.
Delegate to invoke for an OnNext notification.
Delegate to invoke for an OnError notification.
Delegate to invoke for an OnCompleted notification.
Result produced by the observation.
Returns an observable sequence with a single notification, using the immediate scheduler.
The observable sequence that surfaces the behavior of the notification upon subscription.
Returns an observable sequence with a single notification.
Scheduler to send out the notification calls on.
The observable sequence that surfaces the behavior of the notification upon subscription.
Returns the value of an OnNext notification or throws an exception.
Returns a value that indicates whether the notification has a value.
Returns the exception of an OnError notification or returns null.
Gets the kind of notification that is represented.
Represents an OnNext notification to an observer.
Constructs a notification of a new value.
Returns the hash code for this instance.
Indicates whether this instance and a specified object are equal.
Returns a string representation of this instance.
Invokes the observer's method corresponding to the notification.
Observer to invoke the notification on.
Invokes the observer's method corresponding to the notification and returns the produced result.
Observer to invoke the notification on.
Result produced by the observation.
Invokes the delegate corresponding to the notification.
Delegate to invoke for an OnNext notification.
Delegate to invoke for an OnError notification.
Delegate to invoke for an OnCompleted notification.
Invokes the delegate corresponding to the notification and returns the produced result.
Delegate to invoke for an OnNext notification.
Delegate to invoke for an OnError notification.
Delegate to invoke for an OnCompleted notification.
Result produced by the observation.
Returns the value of an OnNext notification.
Returns null.
Returns true.
Returns NotificationKind.OnNext.
Represents an OnError notification to an observer.
Constructs a notification of an exception.
Returns the hash code for this instance.
Indicates whether this instance and other are equal.
Returns a string representation of this instance.
Invokes the observer's method corresponding to the notification.
Observer to invoke the notification on.
Invokes the observer's method corresponding to the notification and returns the produced result.
Observer to invoke the notification on.
Result produced by the observation.
Invokes the delegate corresponding to the notification.
Delegate to invoke for an OnNext notification.
Delegate to invoke for an OnError notification.
Delegate to invoke for an OnCompleted notification.
Invokes the delegate corresponding to the notification and returns the produced result.
Delegate to invoke for an OnNext notification.
Delegate to invoke for an OnError notification.
Delegate to invoke for an OnCompleted notification.
Result produced by the observation.
Throws the exception.
Returns the exception.
Returns false.
Returns NotificationKind.OnError.
Represents an OnCompleted notification to an observer.
Constructs a notification of the end of a sequence.
Returns the hash code for this instance.
Indicates whether this instance and other are equal.
Returns a string representation of this instance.
Invokes the observer's method corresponding to the notification.
Observer to invoke the notification on.
Invokes the observer's method corresponding to the notification and returns the produced result.
Observer to invoke the notification on.
Result produced by the observation.
Invokes the delegate corresponding to the notification.
Delegate to invoke for an OnNext notification.
Delegate to invoke for an OnError notification.
Delegate to invoke for an OnCompleted notification.
Invokes the delegate corresponding to the notification and returns the produced result.
Delegate to invoke for an OnNext notification.
Delegate to invoke for an OnError notification.
Delegate to invoke for an OnCompleted notification.
Result produced by the observation.
Throws an InvalidOperationException.
Returns null.
Returns false.
Returns NotificationKind.OnCompleted.
Provides a set of static methods for constructing notifications.
Creates an object that represents an OnNext notification to an observer.
The type of the elements received by the observer. Upon dematerialization of the notifications into an observable sequence, this type is used as the element type for the sequence.
The value contained in the notification.
The OnNext notification containing the value.
Creates an object that represents an OnError notification to an observer.
The type of the elements received by the observer. Upon dematerialization of the notifications into an observable sequence, this type is used as the element type for the sequence.
The exception contained in the notification.
The OnError notification containing the exception.
is null.
Creates an object that represents an OnCompleted notification to an observer.
The type of the elements received by the observer. Upon dematerialization of the notifications into an observable sequence, this type is used as the element type for the sequence.
The OnCompleted notification.
Represents a type with a single value. This type is often used to denote the successful completion of a void-returning method (C#) or a Sub procedure (Visual Basic).
Determines whether the specified Unit values is equal to the current Unit. Because Unit has a single value, this always returns true.
An object to compare to the current Unit value.
Because Unit has a single value, this always returns true.
Determines whether the specified System.Object is equal to the current Unit.
The System.Object to compare with the current Unit.
true if the specified System.Object is a Unit value; otherwise, false.
Returns the hash code for the current Unit value.
A hash code for the current Unit value.
Returns a string representation of the current Unit value.
String representation of the current Unit value.
Determines whether the two specified Unit values are equal. Because Unit has a single value, this always returns true.
The first Unit value to compare.
The second Unit value to compare.
Because Unit has a single value, this always returns true.
Determines whether the two specified Unit values are not equal. Because Unit has a single value, this always returns false.
The first Unit value to compare.
The second Unit value to compare.
Because Unit has a single value, this always returns false.
Gets the single unit value.
A strongly-typed resource class, for looking up localized strings, etc.
Returns the cached ResourceManager instance used by this class.
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
Looks up a localized string similar to Using the Scheduler.{0} property is no longer supported due to refactoring of the API surface and elimination of platform-specific dependencies. Please include System.Reactive.PlatformServices for your target platform and use the {0}Scheduler type instead..
Looks up a localized string similar to OnCompleted notification doesn't have a value..
Looks up a localized string similar to Disposable has already been assigned..
Looks up a localized string similar to Failed to start monitoring system clock changes..
Looks up a localized string similar to Heap is empty..
Looks up a localized string similar to Reentrancy has been detected..
Looks up a localized string similar to Observer has already terminated..
Looks up a localized string similar to This scheduler operation has already been awaited..