MyExt.Baz<T, R> , metoda
Przestrzeń nazw:ReactiveTests.Tests
Zestawu: Tests.System.Reactive (w Tests.System.Reactive.dll)
Składnia
'Declaration
<ExtensionAttribute> _
Public Shared Function Baz(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.Baz(f)
public static IQbservable<R> Baz<T, R>(
this IQbservable<T> source,
Expression<Func<T, R>> f
)
[ExtensionAttribute]
public:
generic<typename T, typename R>
static IQbservable<R>^ Baz(
IQbservable<T>^ source,
Expression<Func<T, R>^>^ f
)
static member Baz :
source:IQbservable<'T> *
f:Expression<Func<'T, 'R>> -> IQbservable<'R>
JScript does not support generic types and methods.
Parametry typu
- T
- R
Parametry
- source
Typ: System.Reactive.Linq.IQbservable<T>
- f
Typ: System.Linq.Expressions.Expression<Func<T, R>>
Wartość zwracana
Typ: System.Reactive.Linq.IQbservable<R>
Uwaga dotycząca użycia
W języku Visual Basic i C# można wywołać tę metodę jako metodę wystąpienia dla dowolnego obiektu typu IQbservable<T>. Gdy w celu wywołania tej metody jest używana składnia metody wystąpienia, należy pominąć pierwszy parametr. Aby uzyskać więcej informacji, zobacz lub .