/// <summary> /// Initializes a new instance of the <see cref="ApplicationState" /> class. /// </summary> /// <param name="notificationsMessageHandler">The notifications message handler.</param> public ApplicationState(NotificationsMessageHandler notificationsMessageHandler) { this.notificationsMessageHandler = notificationsMessageHandler; this.BreadCrumbTrail.Add("Start", "/OperatingModeSelection", false); this.Reset(); }
public ChatController(IChatFacade chatFacade, IGroupFacade groupFacade, NotificationsMessageHandler notificationsMessageHandler) { _chatFacade = chatFacade; _groupFacade = groupFacade; _notificationsMessageHandler = notificationsMessageHandler; }
public RealController([FromServices] IQuotationFiveService quotations, ITimerService Timer, IUserService userService, IAddUserService addUserService, NotificationsMessageHandler notificationsService ) { QuotationsFive = quotations; timer = Timer; UserService = userService; NotificationsService = notificationsService; AddUserService = addUserService; bool work = false; }
public ChannelModule(ChatContext context, GlobalConfig config, NotificationsMessageHandler notificationHandler) : base("/channel", config) { //ovako uzimaj config i context this.context = context; this.notificationHandler = notificationHandler; //list channels Get("/", ListChannelAsync); //get channel Get("/{id}", GetChannelAsync); //creates a new channel Post("/", CreateNewChannelAsync); //edit channel Put("/{id}", EditChannelAsync); //delete channel Delete("/{id}", DeleteChannelAsync); //saves message Post("/send", SendMessageAsync); //loads conversation Get("/messages/{skip}/{limit}", GetMessagesAsync); //checks if there are new messages Get("/messages/new", CheckNewMessagesAsync); }
public void SetServices( ISessionService sessionService, IUserWalletService userWalletService, NotificationsMessageHandler notificationsService) { if (SessionService == null) { SessionService = sessionService; } if (UserWalletService == null) { UserWalletService = userWalletService; } if (NotificationsService == null) { NotificationsService = notificationsService; } SessionsQuenue.AddRange(GetActiveSessions()); StartTimers(); }
public PatientController([FromServices] IUserService userService, IProblemService problemService, ISessionService sessionService, ISpecialistService specialistService, IReviewService reviewService, IUserWalletService userWalletService, IProblemImageService problemImageService, IProblemResourceService problemResourceService, IProblemResourceTaskService problemResourceTaskService, NotificationsMessageHandler notificationsService) { UserService = userService; ProblemService = problemService; SessionService = sessionService; SpecialistService = specialistService; ReviewService = reviewService; UserWalletService = userWalletService; ProblemImageService = problemImageService; ProblemResourceService = problemResourceService; ProblemResourceTaskService = problemResourceTaskService; NotificationsService = notificationsService; }
public MessagesController(NotificationsMessageHandler notificationsMessageHandler) { this.notificationsMessageHandler = notificationsMessageHandler; }
public ConversationController(IConversationDataProvider conversationDataProvider, ILLDbContext context, NotificationsMessageHandler messageHandler) { _conversationDataProvider = conversationDataProvider; _context = context; _messageHandler = messageHandler; }
public TimerService(IServiceProvider services, NotificationsMessageHandler notificationsService) { Services = services; NotificationsService = notificationsService; }
public WebSocketController(NotificationsMessageHandler notificationsMessageHandler) { _notificationsMessageHandler = notificationsMessageHandler; }
public MessagesController(NotificationsMessageHandler notificationsMessageHandler) => _notificationsMessageHandler = notificationsMessageHandler;
public MessageController(NotificationsMessageHandler notificationsMessageHandler, IChatHandler chatHandler) { _notificationsMessageHandler = notificationsMessageHandler; _chatHandler = chatHandler; }
public ValuesController(NotificationsMessageHandler notificationsMessageHandler, IVideoQueryRepository videoQueryRepository) { _notificationsMessageHandler = notificationsMessageHandler; _videoQueryRepository = videoQueryRepository; FFbase.FFmpegDir = Path.Combine(System.Environment.CurrentDirectory, "ffmpegbins"); }
public ClinicController(IPatientService patientService, IConsultationService consultationService, NotificationsMessageHandler notificationsMessageHandler) { this.patientService = patientService; this.consultationService = consultationService; this.notificationsMessageHandler = notificationsMessageHandler; }
public UserController([FromServices] IUserService usersService , NotificationsMessageHandler notificationsService) { UserService = usersService; NotificationsService = notificationsService; }
public LedController(NotificationsMessageHandler notificationsMessageHandler) { _notificationsMessageHandler = notificationsMessageHandler; }
public UserController(NotificationsMessageHandler notificationsMessageHandler, IUserHandler userHandler, IChatHandler chatHandler) { _userHandler = userHandler; _chatHandler = chatHandler; _notificationsMessageHandler = notificationsMessageHandler; }