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) { _watcher = watcher; _informationFeedback = informationFeedback; _informationFeedback.View = this; _runFeedback = runFeedbackPresenter; _runFeedback.View = this; configuration.ValidateSettings(); }
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) { _syncContext = AsyncOperationManager.SynchronizationContext; _toolTipProvider.AutoPopDelay = 30000; _watcher = watcher; _runResultCache = runResultCache; _bus = bus; _runPresenter = runPresenter; _runPresenter.View = this; _informationForm = informationForm; _informationForm.MessageArrived += new EventHandler<MessageRecievedEventArgs>(_informationForm_MessageArrived); InitializeComponent(); configuration.ValidateSettings(); readFormSpacing(); FeedbackForm_Resize(this, new EventArgs()); }
public FeedbackView(Action<RunMessages> onMessage, Action<IRunResultCache> onCacheUpdate, DTE2 application) { _onMessage = onMessage; _onCacheUpdate = onCacheUpdate; _application = application; _presenter = BootStrapper.Services.Locate<IRunFeedbackPresenter>(); _presenter.View = this; _resultsCache = BootStrapper.Services.Locate<IRunResultCache>(); var infoPresenter = BootStrapper.Services.Locate<IInformationFeedbackPresenter>(); _infoWindow = new InformationWindow(infoPresenter); _itemInfoWindow = new FeedbackItemWindow(); _itemInfoWindow.LinkClicked += new EventHandler<StringArgs>(_itemInfoWindow_LinkClicked); BootStrapper.Services.Locate<IConfiguration>().ValidateSettings(); _watcher = BootStrapper.Services.Locate<IDirectoryWatcher>(); if (Connect.WatchFolder != null) _watcher.Watch(Connect.WatchFolder); }
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 FeedbackView(Action <RunMessages> onMessage, Action <IRunResultCache> onCacheUpdate, DTE2 application) { _onMessage = onMessage; _onCacheUpdate = onCacheUpdate; _application = application; _presenter = BootStrapper.Services.Locate <IRunFeedbackPresenter>(); _presenter.View = this; _resultsCache = BootStrapper.Services.Locate <IRunResultCache>(); var infoPresenter = BootStrapper.Services.Locate <IInformationFeedbackPresenter>(); _infoWindow = new InformationWindow(infoPresenter); _itemInfoWindow = new FeedbackItemWindow(); _itemInfoWindow.LinkClicked += new EventHandler <StringArgs>(_itemInfoWindow_LinkClicked); BootStrapper.Services.Locate <IConfiguration>().ValidateSettings(); _watcher = BootStrapper.Services.Locate <IDirectoryWatcher>(); if (Connect.WatchFolder != null) { _watcher.Watch(Connect.WatchFolder); } }
public AutoTestMessageProxy(IRunFeedbackPresenter presenter, IInformationFeedbackPresenter infoPresenter, IConfiguration configuration, ISendNotifications notifier) : base(presenter, infoPresenter, configuration, notifier) { }