Observable.Create<TSource> Method

Namespace:  Microsoft.Phone.Reactive
Assembly:  Microsoft.Phone.Reactive (in Microsoft.Phone.Reactive.dll)

Syntax

'Declaration
Public Shared Function Create(Of TSource) ( _
    subscribe As Func(Of IObserver(Of TSource), Action) _
) As IObservable(Of TSource)
public static IObservable<TSource> Create<TSource>(
    Func<IObserver<TSource>, Action> subscribe
)
public:
generic<typename TSource>
static IObservable<TSource>^ Create(
    Func<IObserver<TSource>^, Action^>^ subscribe
)
static member Create : 
        subscribe:Func<IObserver<'TSource>, Action> -> IObservable<'TSource> 

Type Parameters

  • TSource

Parameters

Return Value

Type: System.IObservable<TSource>

Version Information

.NET for Windows Phone apps

Supported in: Windows Phone 8, Silverlight 8.1

.NET Framework Security

See Also

Reference

Observable Class

Microsoft.Phone.Reactive Namespace