You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using AddressBook_MVVMSampleV2.Interface;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using System.Windows;
|
|
|
|
|
|
|
|
|
|
namespace AddressBook_MVVMSampleV2.Service
|
|
|
|
|
{
|
|
|
|
|
internal class MessageBoxService : IMessageBoxService
|
|
|
|
|
{
|
|
|
|
|
public MessageBoxResult Show(string message)
|
|
|
|
|
{
|
|
|
|
|
return MessageBox.Show(message);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public MessageBoxResult Show(string message, string caption)
|
|
|
|
|
{
|
|
|
|
|
return MessageBox.Show(message, caption);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public MessageBoxResult Show(string message, string caption, MessageBoxButton button, MessageBoxImage icon)
|
|
|
|
|
{
|
|
|
|
|
return MessageBox.Show(message, caption, button, icon);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|