#if NET20 || NET30 || NET35 || !NET_4_6 namespace System { /// Defines a provider for push-based notification. /// The object that provides notification information. #if NETCF public interface IObservable #else public interface IObservable #endif { /// Notifies the provider that an observer is to receive notifications. /// A reference to an interface that allows observers to stop receiving notifications before the provider has finished sending them. /// The object that is to receive notifications. IDisposable Subscribe(IObserver observer); } } #endif