public WatchDataSaver(IRepository repository, IWatchPool watchPool, IAccessPoint accessPoint) { OnSuccessfulSave += () => { }; OnFailureToSave += () => { }; IfNoMatchingWatch += (x) => { }; this.repository = repository; this.watchPool = watchPool; this.accessPoint = accessPoint; }
public Gui(IRepository repository, IAccessPoint accessPoint, IWatchPool watchPool, IWatchDataSaver watchDataSaver, ISpreadsheetExporter spreadsheetExporter) { this.repository = repository; this.watchDataSaver = watchDataSaver; this.watchPool = watchPool; this.accessPoint = accessPoint; this.spreadsheetExporter = spreadsheetExporter; InitializeComponent(); }