Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/rx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Rx.NET/System.Reactive.Interfaces/Reactive/IObserver.Result.cs')
-rw-r--r--Rx.NET/System.Reactive.Interfaces/Reactive/IObserver.Result.cs42
1 files changed, 0 insertions, 42 deletions
diff --git a/Rx.NET/System.Reactive.Interfaces/Reactive/IObserver.Result.cs b/Rx.NET/System.Reactive.Interfaces/Reactive/IObserver.Result.cs
deleted file mode 100644
index 8a4307d..0000000
--- a/Rx.NET/System.Reactive.Interfaces/Reactive/IObserver.Result.cs
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
-
-namespace System.Reactive
-{
- /// <summary>
- /// Provides a mechanism for receiving push-based notifications and returning a response.
- /// </summary>
- /// <typeparam name="TValue">
- /// The type of the elements received by the observer.
- /// This type parameter is contravariant. That is, you can use either the type you specified or any type that is less derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics.
- /// </typeparam>
- /// <typeparam name="TResult">
- /// The type of the result returned from the observer's notification handlers.
- /// This type parameter is covariant. That is, you can use either the type you specified or any type that is more derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics.
- /// </typeparam>
-#if !NO_VARIANCE
- public interface IObserver<in TValue, out TResult>
-#else
- public interface IObserver<TValue, TResult>
-#endif
- {
- /// <summary>
- /// Notifies the observer of a new element in the sequence.
- /// </summary>
- /// <param name="value">The new element in the sequence.</param>
- /// <returns>Result returned upon observation of a new element.</returns>
- TResult OnNext(TValue value);
-
- /// <summary>
- /// Notifies the observer that an exception has occurred.
- /// </summary>
- /// <param name="exception">The exception that occurred.</param>
- /// <returns>Result returned upon observation of an error.</returns>
- TResult OnError(Exception exception);
-
- /// <summary>
- /// Notifies the observer of the end of the sequence.
- /// </summary>
- /// <returns>Result returned upon observation of the sequence completion.</returns>
- TResult OnCompleted();
- }
-} \ No newline at end of file