Subject Class

Provides a set of static methods for creating observers.

Inheritance Hierarchy

System.Object
  System.Reactive.Subjects.Subject

Namespace:  System.Reactive.Subjects
Assembly:  System.Reactive (in System.Reactive.dll)

Syntax

'Declaration
Public NotInheritable Class Subject
'Usage
public static class Subject
public ref class Subject abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type Subject =  class end
public final class Subject

The Subject type exposes the following members.

Methods

  Name Description
Public methodStatic member Create<TSource, TResult> Creates a subject from the specified observer and observable.
Public methodStatic member Synchronize<TSource, TResult>(ISubject<TSource, TResult>) Synchronizes the messages on the subject.
Public methodStatic member Synchronize<TSource, TResult>(ISubject<TSource, TResult>, IScheduler) Synchronizes the messages on the subject and notifies observers on the specified scheduler.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Reactive.Subjects Namespace