public DependencyExplorerWindowViewModel( IDependencyWindowService dependencyWindowService, Node node, Line line) { this.dependencyWindowService = dependencyWindowService; dependencyWindowService.Initialize(this, node, line); }
internal DependencyExplorerWindow( IDependencyWindowService dependencyWindowService, IModelNotifications modelNotifications, WindowOwner owner, Node node, Line line) { this.modelNotifications = modelNotifications; Owner = owner; InitializeComponent(); Loaded += Window_Loaded; viewModel = new DependencyExplorerWindowViewModel(dependencyWindowService, node, line); DataContext = viewModel; modelNotifications.ModelUpdated += OnModelChanged; }