using System.Windows; namespace leak_test_project.Utils { public interface IDialogService { void ShowMessage(string message, string title = "알림"); void ShowWarning(string message, string title = "경고"); } public class DefaultDialogService : IDialogService { public void ShowMessage(string message, string title = "알림") { MessageBox.Show(message, title, MessageBoxButton.OK, MessageBoxImage.Information); } public void ShowWarning(string message, string title = "경고") { MessageBox.Show(message, title, MessageBoxButton.OK, MessageBoxImage.Warning); } } }