Winify – Diff between revs 11 and 14

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 11 Rev 14
Line 17... Line 17...
17 { 17 {
18 #region Private Delegates, Events, Enums, Properties, Indexers and Fields 18 #region Private Delegates, Events, Enums, Properties, Indexers and Fields
Line 19... Line 19...
19   19  
Line -... Line 20...
-   20 private readonly global::Servers.Servers _servers;
-   21  
20 private readonly global::Servers.Servers _servers; 22 private readonly TaskScheduler _taskScheduler;
Line 21... Line 23...
21   23  
Line 22... Line 24...
22 private AboutForm _aboutForm; 24 private AboutForm _aboutForm;
Line 49... Line 51...
49 Settings.Default.PropertyChanged += Default_PropertyChanged; 51 Settings.Default.PropertyChanged += Default_PropertyChanged;
Line 50... Line 52...
50   52  
51 _servers = new global::Servers.Servers(); 53 _servers = new global::Servers.Servers();
Line -... Line 54...
-   54 _servers.Server.CollectionChanged += Server_CollectionChanged;
-   55  
52 _servers.Server.CollectionChanged += Server_CollectionChanged; 56 _taskScheduler = TaskScheduler.FromCurrentSynchronizationContext();
Line 53... Line 57...
53   57  
54 _notificationManager = new NotificationManager(TaskScheduler.FromCurrentSynchronizationContext()); 58 _notificationManager = new NotificationManager(_taskScheduler);
Line 55... Line 59...
55   59  
56 _gotifyConnectionManager = new GotifyConnectionManager(_servers); 60 _gotifyConnectionManager = new GotifyConnectionManager(_servers);
57 _gotifyConnectionManager.GotifyNotification += GotifyConnectionManager_GotifyNotification; 61 _gotifyConnectionManager.GotifyNotification += GotifyConnectionManager_GotifyNotification;
Line 58... Line 62...
58   62  
59 Task.Run(async () => 63 LoadServers().ContinueWith(async task =>
60 { 64 {
61 var restoredServers = await LoadServers(); 65 var restoredServers = await task;