Export (0) Print
Expand All
0 out of 5 rated this helpful - Rate this topic

Observable.Create<TSource> Method (Func<IObserver<TSource>, Action>)

Creates an observable sequence from a specified subscribe method implementation with a specified subscribe.

Namespace:  System.Reactive.Linq
Assembly:  System.Reactive (in System.Reactive.dll)
public static IObservable<TSource> Create<TSource>(
	Func<IObserver<TSource>, Action> subscribe

Type Parameters


The type of source.


Type: System.Func<IObserver<TSource>, Action>
The implementation of the resulting observable sequence's subscribe method, returning an action delegate that will be wrapped in an IDisposable.

Return Value

Type: System.IObservable<TSource>
The observable sequence with the specified implementation for the subscribe method.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.