comparison MetroWpf/MetroWpf.Framework/Interfaces/IWpfApplication.cs @ 15:060f02cd4591

Initial commit, pre airport work
author stevenh7776 stevenhollidge@hotmail.com
date Mon, 12 Mar 2012 23:05:21 +0800
parents
children
comparison
equal deleted inserted replaced
14:741981715d94 15:060f02cd4591
1 using System;
2 using System.Threading.Tasks;
3 using System.Windows.Media.Imaging;
4
5 namespace MetroWpf.Framework.Interfaces
6 {
7 public interface IWpfApplication
8 {
9 /// <summary>
10 /// Tasks run on this scheduler will execute on the UI thread
11 /// </summary>
12 TaskScheduler UiTaskScheduler { get; }
13
14 void Initialize();
15 void Invoke(Action action);
16
17 void RefreshCommands();
18
19 string ApplicationTitle {get; }
20 BitmapSource ApplicationIcon { get; }
21 }
22 }