Dela via


Observable.Publish Method

Include Protected Members
Include Inherited Members

Returns a connectable observable sequence that shares a single subscription.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic member Publish<TSource>(IObservable<TSource>) Returns a connectable observable sequence that shares a single subscription to the underlying sequence.
Public methodStatic member Publish<TSource, TResult>(IObservable<TSource>, Func<IObservable<TSource>, IObservable<TResult>>) Returns an observable sequence that is the result of invoking the selector on a connectable observable sequence that shares a single subscription to the underlying sequence.
Public methodStatic member Publish<TSource>(IObservable<TSource>, TSource) Returns a connectable observable sequence that shares a single subscription to the underlying sequence and starts with initialValue.
Public methodStatic member Publish<TSource, TResult>(IObservable<TSource>, Func<IObservable<TSource>, IObservable<TResult>>, TSource) Returns a connectable observable sequence that shares a single subscription to the underlying sequence and starts with initialValue.

Top

See Also

Reference

Observable Class

System.Reactive.Linq Namespace