Example #1
0
 public UserConnectionValidator(IUserStorage userStorage, ILoggerFactory loggerFactory,
                                IGamingPlatform gamingPlatform)
 {
     _gamingPlatform = gamingPlatform;
     _users          = userStorage.GetUsers();
     _logger         = loggerFactory.CreateLogger <UserConnectionValidator>();
 }
Example #2
0
 public UserController(ILoggerFactory loggerFactory, IGamingPlatform gamingPlatform)
 {
     _logger         = loggerFactory.CreateLogger <UserController>();
     _gamingPlatform = gamingPlatform;
 }