MyExt.Baz<T, R> – metoda
Obor názvů:ReactiveTests.Tests
Sestavení: Tests.System.Reactive (v Tests.System.Reactive.dll)
Syntax
'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>>
Návratová hodnota
Typ: System.Reactive.Linq.IQbservable<R>
Poznámka k využití
V jazyce Visual Basic a C# můžete tuto metodu volat jako metodu instance u libovolného objektu typu IQbservable<T>. Pokud k volání této metody použijete syntaxi metody instance, vynechejte první parametr. Další informace naleznete v tématech a .