示例#1
0
 public void SetUp()
 {
     this.viewManager = new Mock<IViewManager>();
     this.messageBoxViewModel = new Mock<IMessageBoxViewModel>();
     this.config = new Mock<IWindowManagerConfig>();
     this.windowManager = new MyWindowManager(this.viewManager.Object, () => this.messageBoxViewModel.Object, this.config.Object);
 }
示例#2
0
 public void SetUp()
 {
     this.viewManager         = new Mock <IViewManager>();
     this.messageBoxViewModel = new Mock <IMessageBoxViewModel>();
     this.config        = new Mock <IWindowManagerConfig>();
     this.windowManager = new MyWindowManager(this.viewManager.Object, () => this.messageBoxViewModel.Object, this.config.Object);
 }