// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
namespace System.Reactive.Subjects
{
///
/// Represents an object that is both an observable sequence as well as an observer.
///
///
/// 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.
///
///
/// 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.
///
#if !NO_VARIANCE
public interface ISubject : IObserver, IObservable
#else
public interface ISubject : IObserver, IObservable
#endif
{
}
}