네임스페이스:ReactiveTests.Tests
어셈블리: Tests.System.Reactive(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.
형식 매개 변수
- T
- R
매개 변수
- source
형식: System.Reactive.Linq.IQbservable<T>
- f
형식: System.Linq.Expressions.Expression<Func<T, R>>
반환 값
형식: System.Reactive.Linq.IQbservable<R>
사용 정보
Visual Basic 및 C#에서는 IQbservableT> 형식의 모든 개체에서 이 메서드를 instance 메서드로 호출할 수 있습니다<. 인스턴스 메서드 구문을 사용하여 이 메서드를 호출할 경우에는 첫 번째 매개 변수를 생략합니다. 자세한 내용은 또는 를 참조하세요.