Export (0) Print
Expand All

Qbservable.Create<TSource> Method (IQbservableProvider, Expression<Func<IObserver<TSource>, IDisposable>>)

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

Namespace:  System.Reactive.Linq
Assembly:  System.Reactive.Providers (in System.Reactive.Providers.dll)

public static IQbservable<TSource> Create<TSource>(
	this IQbservableProvider provider,
	Expression<Func<IObserver<TSource>, IDisposable>> subscribe
)

Type Parameters

TSource

The type of source.

Parameters

provider
Type: System.Reactive.Linq.IQbservableProvider
The local Qbservable provider.
subscribe
Type: System.Linq.Expressions.Expression<Func<IObserver<TSource>, IDisposable>>
The implementation of the resulting queryable observable sequence's subscribe method.

Return Value

Type: System.Reactive.Linq.IQbservable<TSource>
The queryable observable sequence with the specified implementation for the subscribe method.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IQbservableProvider. When you use instance method syntax to call this method, omit the first parameter. For more information, see http://msdn.microsoft.com/en-us/library/bb384936(v=vs.103).aspx or http://msdn.microsoft.com/en-us/library/bb383977(v=vs.103).aspx.
Show:
© 2014 Microsoft