Myext

MyExt.Foo<T, R> Method (IObservable<T>, Func<T, R>)

Namespace:  ReactiveTests.Tests
Assembly:  Tests.System.Reactive (in Tests.System.Reactive.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Foo(Of T, R) ( _
    source As IObservable(Of T), _
    f As Func(Of T, R) _
) As IObservable(Of R)
'Usage
Dim source As IObservable(Of T)
Dim f As Func(Of T, R)
Dim returnValue As IObservable(Of R)

returnValue = source.Foo(f)
public static IObservable<R> Foo<T, R>(
    this IObservable<T> source,
    Func<T, R> f
)
[ExtensionAttribute]
public:
generic<typename T, typename R>
static IObservable<R>^ Foo(
    IObservable<T>^ source, 
    Func<T, R>^ f
)
static member Foo : 
        source:IObservable<'T> * 
        f:Func<'T, 'R> -> IObservable<'R> 
JScript does not support generic types and methods.

Type Parameters

  • T

  • R

Parameters

Return Value

Type: System.IObservable<R>

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IObservable<T>. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also

Reference

MyExt Class

Foo Overload

ReactiveTests.Tests Namespace

MyExt.Foo<T, R> Method (IQbservable<T>, Expression<Func<T, R>>)

Namespace:  ReactiveTests.Tests
Assembly:  Tests.System.Reactive (in Tests.System.Reactive.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Foo(Of T, R) ( _
    source As IQbservable(Of T), _
    f As Expression(Of Func(Of T, R)) _
) As IQbservable(Of R)
'Usage
Dim source As IQbservable(Of T)
Dim f As Expression(Of Func(Of T, R))
Dim returnValue As IQbservable(Of R)

returnValue = source.Foo(f)
public static IQbservable<R> Foo<T, R>(
    this IQbservable<T> source,
    Expression<Func<T, R>> f
)
[ExtensionAttribute]
public:
generic<typename T, typename R>
static IQbservable<R>^ Foo(
    IQbservable<T>^ source, 
    Expression<Func<T, R>^>^ f
)
static member Foo : 
        source:IQbservable<'T> * 
        f:Expression<Func<'T, 'R>> -> IQbservable<'R> 
JScript does not support generic types and methods.

Type Parameters

  • T

  • R

Parameters

Return Value

Type: System.Reactive.Linq.IQbservable<R>

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IQbservable<T>. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also

Reference

MyExt Class

Foo Overload

ReactiveTests.Tests Namespace