view MetroWpf/MetroWpf.Framework/Interfaces/IWpfApplication.cs @ 96:188f8b366e87

Unit test project correctly setup as normal class library DLL.
author stevenhollidge <stevenhollidge@hotmail.com>
date Sat, 05 May 2012 13:29:56 +0100
parents 060f02cd4591
children
line wrap: on
line source

using System;
using System.Threading.Tasks;
using System.Windows.Media.Imaging;

namespace MetroWpf.Framework.Interfaces
{
  public interface IWpfApplication
  {
    /// <summary>
    ///   Tasks run on this scheduler will execute on the UI thread
    /// </summary>
    TaskScheduler UiTaskScheduler { get; }

    void Initialize();
    void Invoke(Action action);

    void RefreshCommands();

    string ApplicationTitle {get; }
    BitmapSource ApplicationIcon { get; } 
  }
}