view MetroWpf/MetroWpf.Services/Interfaces/IDialogService.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

namespace MetroWpf.Services.Interfaces
{
    public interface IDialogService
    {
        bool ShowConfirmation(string title, string text, string extra, params ButtonExtras[] buttonExtras);
        bool? ShowConfirmationWithCancel(string title, string text, string extra, params ButtonExtras[] buttonExtras);

        void ShowMessage(string title, string text, string extra, params ButtonExtras[] buttonExtras);
        void ShowWarning(string title, string text, string extra, params ButtonExtras[] buttonExtras);
        void ShowError(string title, string text, string extra, params ButtonExtras[] buttonExtras);

        string[] GetFileOpenPath(string title, string filter);
        string GetFileSavePath(string title, string defaultExt, string filter);
    }
}