view MetroWpf/MetroWpf.Framework/Interfaces/IWpfApplication.cs @ 40:64c89891d7b6

Added tag MetroWPF CTP v0.1 for changeset 4b8b38d17d24
author adminsh@apollo
date Tue, 03 Apr 2012 16:46:48 +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; } 
  }
}