public void TestInitialize()
        {
            project = TestHelper.CreateTestProject();
            mockRegionManager = new Mock<IRegionManager>();
            eventAggregator = new EventAggregator();

            viewModel = new ProjectExplorerViewModel(mockRegionManager.Object, eventAggregator);
            projectViewModel = new ProjectViewModel(project);
            viewModel.Project.Add(projectViewModel);
        }
Ejemplo n.º 2
0
 public ProjectExplorerView(ProjectExplorerViewModel viewModel, IEventAggregator eventAggregator)
 {
     DataContext = viewModel;
     InitializeComponent();
     _eventAggregator = eventAggregator;
 }