Observable.Case<TValue, TResult> Method (Func<TValue>, IDictionary<TValue, IObservable<TResult>>, IScheduler)
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)), _
scheduler As IScheduler _
) As IObservable(Of TResult)
public static IObservable<TResult> Case<TValue, TResult>(
Func<TValue> selector,
IDictionary<TValue, IObservable<TResult>> sources,
IScheduler scheduler
)
public:
generic<typename TValue, typename TResult>
static IObservable<TResult>^ Case(
Func<TValue>^ selector,
IDictionary<TValue, IObservable<TResult>^>^ sources,
IScheduler^ scheduler
)
static member Case :
selector:Func<'TValue> *
sources:IDictionary<'TValue, IObservable<'TResult>> *
scheduler:IScheduler -> IObservable<'TResult>
Type Parameters
- TValue
- TResult
Parameters
- selector
Type: System.Func<TValue>
- sources
Type: System.Collections.Generic.IDictionary<TValue, IObservable<TResult>>
- scheduler
Type: Microsoft.Phone.Reactive.IScheduler
Return Value
Type: System.IObservable<TResult>
Version Information
.NET for Windows Phone apps
Supported in: Windows Phone 8, Silverlight 8.1
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.