HubProxyExtensions Class
.NET Framework 4
Extensions to the IHubProxy .
Inheritance Hierarchy
System.Object
Microsoft.AspNet.SignalR.Client.Hubs.HubProxyExtensions
Namespace: Microsoft.AspNet.SignalR.Client.Hubs
Assembly: Microsoft.AspNet.SignalR.Client (in Microsoft.AspNet.SignalR.Client.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public NotInheritable Class HubProxyExtensions
'Usage
public static class HubProxyExtensions
[ExtensionAttribute]
public ref class HubProxyExtensions abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type HubProxyExtensions = class end
public final class HubProxyExtensions
The HubProxyExtensions type exposes the following members.
Methods
Name | Description | |
---|---|---|
GetValue<T> | Gets the value of a state variable. | |
Observe | Registers a IHubProxy event as an IObservableT. | |
On(IHubProxy, String, Action) | Registers for an event with the specified name and callback | |
On(IHubProxy, String, Action<Object>) | Registers for an event with the specified name and callback | |
On<T>(IHubProxy, String, Action<T>) | Registers for an event with the specified name and callback | |
On<T1, T2>(IHubProxy, String, Action<T1, T2>) | Registers for an event with the specified name and callback | |
On<T1, T2, T3>(IHubProxy, String, Action<T1, T2, T3>) | Registers for an event with the specified name and callback | |
On<T1, T2, T3, T4>(IHubProxy, String, Action<T1, T2, T3, T4>) | Registers for an event with the specified name and callback | |
On<T1, T2, T3, T4, T5>(IHubProxy, String, Action<T1, T2, T3, T4, T5>) | Registers for an event with the specified name and callback | |
On<T1, T2, T3, T4, T5, T6>(IHubProxy, String, Action<T1, T2, T3, T4, T5, T6>) | Registers for an event with the specified name and callback | |
On<T1, T2, T3, T4, T5, T6, T7>(IHubProxy, String, Action<T1, T2, T3, T4, T5, T6, T7>) | Registers for an event with the specified name and callback |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.