コード例 #1
0
 public void MyTestInitialize()
 {
     _container         = UnityContainerResolver.Container;
     _childWindow       = _container.Resolve <IChildWindow>();
     _childWindowNested = _container.Resolve <IChildWindowNested>();
     _viewmodel         = new ChildWindowViewModel(_childWindow, _childWindowNested);
 }
コード例 #2
0
 public void MyTestCleanup()
 {
     _container         = null;
     _childWindowNested = null;
     _viewmodel         = null;
 }
コード例 #3
0
 public ChildWindowViewModel(IChildWindow childWindow,
                             IChildWindowNested childWindowNested)
 {
     _childWindow       = childWindow;
     _childWindowNested = childWindowNested;
 }
コード例 #4
0
 public ChildWindowNestedViewModel(IChildWindowNested childWindowNested)
 {
     _childWindowNested = childWindowNested;
 }