Export (0) Print
Expand All

ConnectionExtensions.AsObservable<T> Method (Connection, Func<String, T>)

.NET Framework 4
.NET Framework 4

Namespace:  Microsoft.AspNet.SignalR.Client
Assembly:  Microsoft.AspNet.SignalR.Client (in Microsoft.AspNet.SignalR.Client.dll)

public static IObservable<T> AsObservable<T>(
	this Connection connection,
	Func<string, T> selector
)

Type Parameters

T

Parameters

connection
Type: Microsoft.AspNet.SignalR.Client.Connection
selector
Type: System.Func<String, T>

Return Value

Type: System.IObservable<T>

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Connection. When you use instance method syntax to call this method, omit the first parameter. For more information, see http://msdn.microsoft.com/en-us/library/bb384936(v=vs.100).aspx or http://msdn.microsoft.com/en-us/library/bb383977(v=vs.100).aspx.
Show:
© 2014 Microsoft