public ClientStateService(ConnectionsService connections, PacketService packets,
                           DeliveryService delivery, MessageInjectionService injector, DatabaseContext database)
 {
     this.connections = connections;
     this.packets     = packets;
     this.delivery    = delivery;
     this.injector    = injector;
     this.database    = database;
 }
 public DeliveryService(IServiceProvider serviceProvider, PacketService packets, ConnectionsService connections,
                        NotificationService notification, IOptions <FcmOptions> fcmOptions, IOptions <ProtocolOptions> protocolOptions, DatabaseContext database)
 {
     this.serviceProvider = serviceProvider;
     this.packets         = packets;
     this.connections     = connections;
     this.notification    = notification;
     this.fcmOptions      = fcmOptions;
     this.protocolOptions = protocolOptions;
     this.database        = database;
 }
 public MessageInjectionService(DatabaseContext database, PacketService packets)
 {
     this.database = database;
     this.packets  = packets;
 }