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

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

#if NO_RXINTERFACES
namespace System
{
    /// <summary>
    /// Represents a push-style collection.
    /// </summary>
#if !NO_VARIANCE
    public interface IObservable<out T>
#else
    public interface IObservable<T>
#endif
    {
        /// <summary>
        /// Subscribes an observer to the observable sequence.
        /// </summary>
        IDisposable Subscribe(IObserver<T> observer);
    }
}
#endif