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

ISubject.Multi.cs « Subjects « Reactive « System.Reactive.Interfaces « Rx.NET - github.com/mono/rx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 31ce1afbc97878d1facd7934521c9d45962e0064 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.

namespace System.Reactive.Subjects
{
    /// <summary>
    /// Represents an object that is both an observable sequence as well as an observer.
    /// </summary>
    /// <typeparam name="TSource">
    /// The type of the elements received by the subject.
    /// 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 elements produced by the subject.
    /// 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 ISubject<in TSource, out TResult> : IObserver<TSource>, IObservable<TResult>
#else
    public interface ISubject<TSource, TResult> : IObserver<TSource>, IObservable<TResult>
#endif
    {
    }
}