MyExt.Bar – metoda (IQbservable<Int32>)
Obor názvů:ReactiveTests.Tests
Sestavení: Tests.System.Reactive (v Tests.System.Reactive.dll)
Syntaxe
'Declaration
<ExtensionAttribute> _
Public Shared Function Bar ( _
source As IQbservable(Of Integer) _
) As IQbservable(Of String)
'Usage
Dim source As IQbservable(Of Integer)
Dim returnValue As IQbservable(Of String)
returnValue = source.Bar()
public static IQbservable<string> Bar(
this IQbservable<int> source
)
[ExtensionAttribute]
public:
static IQbservable<String^>^ Bar(
IQbservable<int>^ source
)
static member Bar :
source:IQbservable<int> -> IQbservable<string>
public static function Bar(
source : IQbservable<int>
) : IQbservable<String>
Parametry
- source
Typ: System.Reactive.Linq.IQbservable<Int32>
Návratová hodnota
Typ: System.Reactive.Linq.IQbservable<String>
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<Int32>. Pokud k volání této metody použijete syntaxi metody instance, vynechejte první parametr. Další informace naleznete v tématech a .