public NodeService(
     IModelDatabase modelService,
     Lazy <IModelLineService> modelLineService,
     Lazy <IModelLinkService> modelLinkService,
     INodeLayoutService layoutService,
     Lazy <INodeViewModelService> nodeViewModelService)
 {
     this.modelService         = modelService;
     this.modelLineService     = modelLineService;
     this.modelLinkService     = modelLinkService;
     this.layoutService        = layoutService;
     this.nodeViewModelService = nodeViewModelService;
 }
Example #2
0
 public NodeViewModelService(
     IModelService modelService,
     IThemeService themeService,
     ISelectionService selectionService,
     INodeLayoutService nodeLayoutService,
     ICodeViewService codeViewService,
     Func <Node, Line, DependencyExplorerWindow> dependencyExplorerWindowProvider)
 {
     this.modelService      = modelService;
     this.themeService      = themeService;
     this.selectionService  = selectionService;
     this.nodeLayoutService = nodeLayoutService;
     this.codeViewService   = codeViewService;
     this.dependencyExplorerWindowProvider = dependencyExplorerWindowProvider;
 }