예제 #1
0
 /// <summary>
 /// Hub ctor.
 /// </summary>
 /// <param name="userService"></param>
 public TicTacToeHub(HubManagerFactory <TicTacToeHub, ITicTacToeClient> factory)
 {
     this._manager = factory.Create();
 }
예제 #2
0
 /// <summary>
 /// GameHub ctor.
 /// </summary>
 /// <param name="factory">
 /// create the <see cref="IHubManager{THub, T}"/>.
 /// </param>
 public HomeHub(HubManagerFactory <HomeHub, IHomeClient> factory)
 {
     this._manager = factory.Create();
 }