public CancelSubscriptionMessageHandler(IMediator mediator, ISendApiClient apiClient,
                                         ITranslator <FacebookMessengerPlatformClient> translator,
                                         ILogger <CancelSubscriptionMessageHandler> logger) : base(logger)
 {
     _mediator   = mediator;
     _apiClient  = apiClient;
     _translator = translator;
 }
Ejemplo n.º 2
0
 public FacebookMessengerPlatformClient(ISendApiClient apiClient, IMediator mediator,
                                        ITranslator <FacebookMessengerPlatformClient> translator, ILogger <FacebookMessengerPlatformClient> logger)
 {
     _apiClient  = apiClient;
     _mediator   = mediator;
     _translator = translator;
     _logger     = logger;
 }
Ejemplo n.º 3
0
 public UnsupportedCommandMessageHandler(IMediator mediator, ISendApiClient apiClient,
                                         ITranslator <FacebookMessengerPlatformClient> translator,
                                         ILogger <UnsupportedCommandMessageHandler> logger) : base(logger)
 {
     _mediator   = mediator;
     _apiClient  = apiClient;
     _translator = translator;
 }
Ejemplo n.º 4
0
 public CancelRegistrationMessageHandler(IRegistrationDbContext dbContext, ISendApiClient apiClient,
                                         ITranslator <FacebookMessengerPlatformClient> translator,
                                         ILogger <CancelRegistrationMessageHandler> logger) : base(logger)
 {
     _dbContext  = dbContext;
     _apiClient  = apiClient;
     _translator = translator;
 }
Ejemplo n.º 5
0
 public ConfirmSubscriptionMessageHandler(IRegistrationDbContext dbContext, IMediator mediator,
                                          ISendApiClient apiClient, ITranslator <FacebookMessengerPlatformClient> translator,
                                          ILogger <ConfirmSubscriptionMessageHandler> logger) : base(logger)
 {
     _dbContext  = dbContext;
     _mediator   = mediator;
     _apiClient  = apiClient;
     _translator = translator;
 }
Ejemplo n.º 6
0
 public GatherLanguageMessageHandler(IConfiguration configuration, ISendApiClient apiClient,
                                     ITranslator <FacebookMessengerPlatformClient> translator, IGatherYearMessageHandler yearHandler,
                                     IRegistrationDbContext dbContext, ILogger <GatherLanguageMessageHandler> logger) : base(dbContext,
                                                                                                                             translator, logger)
 {
     _configuration = configuration;
     _apiClient     = apiClient;
     _translator    = translator;
     _yearHandler   = yearHandler;
 }
Ejemplo n.º 7
0
 public GatherClassMessageHandler(IMediator mediator, ISendApiClient apiClient,
                                  ITranslator <FacebookMessengerPlatformClient> translator, IConfirmSubscriptionMessageHandler confirmHandler,
                                  IRegistrationDbContext dbContext, ILogger <GatherClassMessageHandler> logger) : base(dbContext, translator,
                                                                                                                       logger)
 {
     _mediator       = mediator;
     _apiClient      = apiClient;
     _translator     = translator;
     _confirmHandler = confirmHandler;
 }