Monitors and heals a HubConnection upon failure
Inheritance: IHubConnectionManager, IDisposable
コード例 #1
0
ファイル: HubConnectionManager.cs プロジェクト: dealproc/Drey
 /// <summary>
 /// Gets the hub connection manager.
 /// </summary>
 /// <param name="hubConnection">The hub connection.</param>
 /// <returns></returns>
 public static IHubConnectionManager GetHubConnectionManager(HubConnection hubConnection)
 {
     IHubConnectionManager connectionManager = new HubConnectionManager(hubConnection);
     return connectionManager;
 }
コード例 #2
0
ファイル: HubConnectionManager.cs プロジェクト: dealproc/Drey
 /// <summary>
 /// Gets the hub connection manager.
 /// </summary>
 /// <param name="url">The URL.</param>
 /// <returns></returns>
 public static IHubConnectionManager GetHubConnectionManager(string url)
 {
     IHubConnectionManager connectionManager = new HubConnectionManager(url);
     return connectionManager;
 }