Share via


Observable.Case<TValue, TResult> Method (Func<TValue>, IDictionary<TValue, IObservable<TResult>>)

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

Syntax

'Declaration
Public Shared Function Case(Of TValue, TResult) ( _
    selector As Func(Of TValue), _
    sources As IDictionary(Of TValue, IObservable(Of TResult)) _
) As IObservable(Of TResult)
public static IObservable<TResult> Case<TValue, TResult>(
    Func<TValue> selector,
    IDictionary<TValue, IObservable<TResult>> sources
)
public:
generic<typename TValue, typename TResult>
static IObservable<TResult>^ Case(
    Func<TValue>^ selector, 
    IDictionary<TValue, IObservable<TResult>^>^ sources
)
static member Case : 
        selector:Func<'TValue> * 
        sources:IDictionary<'TValue, IObservable<'TResult>> -> IObservable<'TResult> 

Type Parameters

  • TValue
  • TResult

Parameters

Return Value

Type: System.IObservable<TResult>

Version Information

.NET for Windows Phone apps

Supported in: Windows Phone 8, Silverlight 8.1

.NET Framework Security

See Also

Reference

Observable Class

Case Overload

Microsoft.Phone.Reactive Namespace