From e875394f403f48443540b342f1b06a6a154b9877 Mon Sep 17 00:00:00 2001 From: Andreas Bieber Date: Mon, 23 Feb 2015 12:48:33 +0100 Subject: [PATCH] made ctor of HubProxy public --- SignalR.Client.TypedHubProxy/HubProxy.cs | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/SignalR.Client.TypedHubProxy/HubProxy.cs b/SignalR.Client.TypedHubProxy/HubProxy.cs index abf8ea8..bc1b53c 100644 --- a/SignalR.Client.TypedHubProxy/HubProxy.cs +++ b/SignalR.Client.TypedHubProxy/HubProxy.cs @@ -26,7 +26,12 @@ public class HubProxy : IHubProxy>> _subscriptions = new Dictionary>>(); - internal HubProxy(IHubProxy hubProxy) + /// + /// Ctor of HubProxy. + /// + /// IHubProxy. + /// + public HubProxy(IHubProxy hubProxy) { if (!typeof(TServerHubInterface).IsInterface) { @@ -42,7 +47,12 @@ internal HubProxy(IHubProxy hubProxy) _hubProxy = hubProxy; } - internal HubProxy(HubConnection hubConnection, string hubName) + /// + /// Ctor of HubProxy. + /// + /// HubConnection. + /// Name of the hub. + public HubProxy(HubConnection hubConnection, string hubName) : this(hubConnection.CreateHubProxy(hubName)) { }