public EmanateService(IBuildMonitor monitor, IOutput output) { InitializeComponent(); this.output = output; this.monitor = monitor; this.monitor.StatusChanged += MonitorStatusChanged; }
public MonitorViewModelDesignData() { BuildMonitors = new IBuildMonitor[] { new BuildMonitor(new BuildStatusDesignData(), new TeamCityApiDesignData(), new BuildViewModelDesignData { Name = "Build 1", Id = "ID 1" }), new BuildMonitor(new BuildStatusDesignData(), new TeamCityApiDesignData(), new BuildViewModelDesignData { Name = "Build 2", Id = "ID 2" }), }; }
public EmanateConsole(IBuildMonitor monitor, IOutput output) { this.output = output; this.monitor = monitor; this.monitor.StatusChanged += MonitorStatusChanged; }