Esempio n. 1
0
 public AuthController(UserManager <User> userManager, SignInManager <User> signInManager, IChatRepo chatRepo, IEmailSender emailSender)
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _chatRepo      = chatRepo;
     _emailSender   = emailSender;
 }
Esempio n. 2
0
 public ChatService(IChatRepo chatRepo, IUserRepo userRepo, IMessageRepo messageRepo, IMessageReadStatusRepo messageReadStatusRepo)
 {
     _chatRepo              = chatRepo;
     _userRepo              = userRepo;
     _messageRepo           = messageRepo;
     _messageReadStatusRepo = messageReadStatusRepo;
 }
Esempio n. 3
0
 public DeleteChatCommand(ITelegramClient client,
                          IChatRepo repo, ILogger <DeleteChatCommand> logger)
 {
     this._client = client;
     this._repo   = repo;
     this._logger = logger;
 }
 public JobManager(IScheduleRepo schedule, IChatRepo chat,
                   IModelConverter converter)
 {
     this._scheduleRepo = schedule;
     this._chatRepo     = chat;
     this._converter    = converter;
 }
Esempio n. 5
0
 public HomeController(UserManager <User> userManager, SignInManager <User> signInManager, IChatService chatService, IChatRepo chatRepo, IHubContext <ChatHub> hubContext)
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _chatService   = chatService;
     _chatRepo      = chatRepo;
     _hubContext    = hubContext;
 }
Esempio n. 6
0
 public AdminController(UserManager <AppUser> usrMgr,
                        ApplicationDbContext c, IUserRepo u, IChatRepo chat, IMessageRepo m)
 {
     userManager = usrMgr;
     context     = c;
     userRepo    = u;
     chatRepo    = chat;
     messageRepo = m;
 }
Esempio n. 7
0
 public MessagesController(UserManager <AppUser> usrMgr,
                           IReplyRepo r, IMessageRepo m, IChatRepo c)
 {
     // repos
     this.replyRepo   = r;
     this.messageRepo = m;
     this.chatRepo    = c;
     // user managers
     this.userManager = usrMgr;
 }
Esempio n. 8
0
 public ForumAPIController(UserManager <AppUser> usrMgr,
                           IReplyRepo r, IMessageRepo m, IChatRepo c, IUserRepo u)
 {
     // repos
     this.replyRepo   = r;
     this.messageRepo = m;
     this.chatRepo    = c;
     // user managers
     this.userManager = usrMgr;
     this.userRepo    = u;
 }
Esempio n. 9
0
 public ChatHub(AppSettings settings, IChatService chatService, IChatRepo chatRepo)
 {
     _settings    = settings;
     _chatService = chatService;
     _chatRepo    = chatRepo;
 }
Esempio n. 10
0
 public AdminCommandMatcherBase(IChatRepo repo)
 {
     this._repo = repo;
 }
Esempio n. 11
0
 public ChatService(IChatRepo chatRepo, IUserService userService)
 {
     _chatRepo    = chatRepo;
     _userService = userService;
 }
Esempio n. 12
0
 public GetScheduleCommand(IChatRepo repo, ITelegramClient client)
 {
     this._repo   = repo;
     this._client = client;
 }
Esempio n. 13
0
 public ChatHubService(IChatRepo repo, int o = 0)
 {
     _repo = repo;
     _o    = o;
 }
Esempio n. 14
0
 public ChatHubService(IChatRepo repo)
 {
     _repo = repo;
 }
Esempio n. 15
0
 public DeleteChatCommandMatcher(IChatRepo repo, ITelegramClient client)
     : base(repo, client, CommandNames.DeleteChat)
 {
 }
Esempio n. 16
0
 public AddAlertsCommandMatcher(ITelegramClient client, IChatRepo repo)
     : base(client, repo, CommandNames.AddAlerts)
 {
 }
Esempio n. 17
0
 public ChatService(IChatRepo chatRepo)
 {
     _chatRepo = chatRepo;
 }
 public SetupCommandMatcher(IChatRepo repo, ITelegramClient client)
     : base(client, repo, CommandNames.Setup)
 {
 }
 public StartCommand(IChatRepo repo, ITelegramClient client, ILogger <StartCommand> logger)
 {
     this._repo   = repo;
     this._client = client;
     this._logger = logger;
 }
Esempio n. 20
0
 /// <summary>
 /// One-argument constructor initializing the chat repository
 /// </summary>
 /// <param name="chatRepo">the given value for the chat repo</param>
 public ChatSocket(IChatRepo chatRepo)
 {
     this.chatRepo = chatRepo;
     FILE_PATH     = ImagesUtil.FILE_PATH;
 }