Observable

Observable.Single Method

Include Protected Members
Include Inherited Members

Returns the only element of an observable sequence.

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

Overload List

NameDescriptionPublic methodStatic memberSingle(IObservable)Returns the only element of an observable sequence and throws an exception if there is not exactly one element in the observable sequence.Public methodStatic memberSingle(IObservable, Func<TSource, Boolean>)Returns the only element of an observable sequence that matches the predicate and throws an exception if there is not exactly one element in the observable sequence.Top

See Also

Reference

Observable Class

System.Reactive.Linq Namespace