Example #1
0
 public App()
 {
     Data = new SettingsStorage();
     Settings = Data.Settings; //This is here to cause entityframework to load a little faster...
     Poller = new ObserverPoller();
     PollerService = TaskAsService.Create(token => Poller.Run(token));
 }
 public MainWindow(SettingsStorage data, ObserverPoller poller)
 {
     Data = data;
     Poller = poller;
     InitializeComponent();
 }