Exemple #1
0
 public GameSessionRepository(IGameSessionContext context)
 {
     _context = context;
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GameServiceHub"/> class.
 /// </summary>
 /// <param name="context">The game session context.</param>
 /// <param name="factory">The factory.</param>
 public GameServiceHub(IGameSessionContext context, IFactory factory)
 {
     gameContext = context;
     gameFactory = factory;
 }