address book using mvvm

This commit is contained in:
2023-07-18 16:24:07 +09:00
parent fffd85ecb5
commit 3d9f030ebb
20 changed files with 609 additions and 3 deletions

View File

@@ -0,0 +1,28 @@
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);
}
}
}