/// <summary> /// Initializes a new instance of the <see cref="RegisterForNotificationProcessAction"/> class. /// </summary> /// <param name="notificationSender">The object that stores the registrations.</param> /// <exception cref="ArgumentNullException"> /// Thrown if <paramref name="notificationSender"/> is <see langword="null" />. /// </exception> public RegisterForNotificationProcessAction(ISendNotifications notificationSender) { { Lokad.Enforce.Argument(() => notificationSender); } m_NotificationSender = notificationSender; }
public MessageProxy(IRunFeedbackPresenter presenter, IInformationFeedbackPresenter infoPresenter, IConfiguration configuration, ISendNotifications notifier) { _configuration = configuration; _notifier = notifier; _presenter = presenter; _presenter.View = this; _infoPresenter = infoPresenter; _infoPresenter.View = this; }
public ConsoleApplication(IInformationFeedbackPresenter informationFeedback, IRunFeedbackPresenter runFeedbackPresenter, IDirectoryWatcher watcher, IConfiguration configuration, ILogger logger, ISendNotifications notifier) { _logger = logger; _notifier = notifier; _watcher = watcher; _configuration = configuration; _informationFeedback = informationFeedback; _informationFeedback.View = this; _runFeedback = runFeedbackPresenter; _runFeedback.View = this; }
public FeedbackForm(IDirectoryWatcher watcher, IConfiguration configuration, IRunFeedbackPresenter runPresenter, IInformationForm informationForm, IRunResultCache runResultCache, IMessageBus bus, ISendNotifications notifier) { _syncContext = AsyncOperationManager.SynchronizationContext; _toolTipProvider.AutoPopDelay = 30000; _watcher = watcher; _configuration = configuration; _runResultCache = runResultCache; _bus = bus; _notifier = notifier; _runPresenter = runPresenter; _runPresenter.View = this; _informationForm = informationForm; _informationForm.MessageArrived += new EventHandler<MessageRecievedEventArgs>(_informationForm_MessageArrived); InitializeComponent(); readFormSpacing(); FeedbackForm_Resize(this, new EventArgs()); }
public FeedbackForm(IDirectoryWatcher watcher, IConfiguration configuration, IRunFeedbackPresenter runPresenter, IInformationForm informationForm, IRunResultCache runResultCache, IMessageBus bus, ISendNotifications notifier) { _syncContext = AsyncOperationManager.SynchronizationContext; _toolTipProvider.AutoPopDelay = 30000; _watcher = watcher; _configuration = configuration; _runResultCache = runResultCache; _bus = bus; _notifier = notifier; _runPresenter = runPresenter; _runPresenter.View = this; _informationForm = informationForm; _informationForm.MessageArrived += new EventHandler <MessageRecievedEventArgs>(_informationForm_MessageArrived); InitializeComponent(); readFormSpacing(); FeedbackForm_Resize(this, new EventArgs()); }
public NotifierDecorator(ISendNotifications notifier) => wrappee = notifier;
public AutoTestMessageProxy(IRunFeedbackPresenter presenter, IInformationFeedbackPresenter infoPresenter, IConfiguration configuration, ISendNotifications notifier) : base(presenter, infoPresenter, configuration, notifier) { }
public Producer(IConfiguration configuration, ISendNotifications notifier) { Configuration = configuration; _notifier = notifier; }
public BillRunConsumer(IPivotBilling<PivotStageBilling> pivotStageBilling, IPivotBilling<PivotFinalBilling> pivotFinalBilling, ISendNotifications emailNotification) { _pivotStageBilling = pivotStageBilling; _pivotFinalBilling = pivotFinalBilling; _emailNotification = emailNotification; }