public MainWindow() { InitializeComponent(); MessageBoxWrapper = new MessageBoxWrapper(); SetTheme(); }
public AccountsPanePresenter(IAccountsPaneView view, IAccountsPaneViewModel viewModel, IDataService dataService, INotificationService notificationService, IMessageBoxWrapper messageBoxWrapper) : base(view, viewModel) { this.view = view; this.viewModel = viewModel; this.dataService = dataService; this.notificationService = notificationService; this.messageBoxWrapper = messageBoxWrapper; BindEvents(); BindCommands(); }
public SomeClass(IMessageBoxWrapper messageBox) { _messageBox = messageBox; }