Exemplo n.º 1
0
 public MessageHub(IMqttHandler mqttHandler, IGamerContextMethods gamerStorage, IHubContext <MessageHub> context, IConfiguration configuration)
 {
     Id            = Guid.NewGuid();
     _mqttHandler  = mqttHandler;
     _gamerStorage = gamerStorage;
     _hubContext   = context;
     ApiUri        = configuration["ApiUri"];
 }
Exemplo n.º 2
0
 public RegistrationController(IGamerContextMethods gamerStorage, IMqttHandler handler)
 {
     _handler          = handler;
     _dbcontextMethods = gamerStorage;
 }