Пример #1
0
 public SetUpSearchCommand(
     INotificationTrigger notificationTrigger,
     ISubscriberStorage subscriberStorage,
     ITelegramClient telegramClient
     )
 {
     this.notificationTrigger = notificationTrigger;
     this.subscriberStorage   = subscriberStorage;
     this.telegramClient      = telegramClient;
 }
Пример #2
0
 public CommandFactory(
     IFlightsConfiguration configuration,
     ITelegramClient telegramClient,
     INotifier notifier,
     ITimeline[] timelines,
     ILogger log,
     ISubscriberStorage subscriberStorage
     )
 {
     this.configuration     = configuration;
     this.telegramClient    = telegramClient;
     this.notifier          = notifier;
     this.timelines         = timelines;
     this.log               = log;
     this.subscriberStorage = subscriberStorage;
 }
Пример #3
0
 public FlightNotifier(
     ITelegramClient telegramClient,
     ITimeline[] timelines,
     INotifier notifier,
     INotificationSender[] notificationSenders,
     ISubscriberStorage subscriberStorage,
     ISubscriberDtoFactory subscriberDtoFactory,
     ICommandParser commandParser
     )
 {
     this.telegramClient       = telegramClient;
     this.timelines            = timelines;
     this.notifier             = notifier;
     this.notificationSenders  = notificationSenders;
     this.subscriberStorage    = subscriberStorage;
     this.subscriberDtoFactory = subscriberDtoFactory;
     this.commandParser        = commandParser;
 }