Example #1
0
 public WatchDataSaver(IRepository repository,
                       IWatchPool watchPool,
                       IAccessPoint accessPoint)
 {
     OnSuccessfulSave  += () => { };
     OnFailureToSave   += () => { };
     IfNoMatchingWatch += (x) => { };
     this.repository    = repository;
     this.watchPool     = watchPool;
     this.accessPoint   = accessPoint;
 }
 public WatchDataSaver(IRepository repository,
                    IWatchPool watchPool,
                    IAccessPoint accessPoint)
 {
     OnSuccessfulSave += () => { };
     OnFailureToSave += () => { };
     IfNoMatchingWatch += (x) => { };
     this.repository = repository;
     this.watchPool = watchPool;
     this.accessPoint = accessPoint;
 }
Example #3
0
    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();
    }
Example #4
0
    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();
    }