private ScadaProject project; // the current project to build tree /// <summary> /// Initializes a new instance of the class. /// </summary> public ExplorerBuilder(AppData appData, ServerShell serverShell, CommShell commShell, TreeView treeView, ContextMenus contextMenus) { this.appData = appData ?? throw new ArgumentNullException("appData"); this.serverShell = serverShell ?? throw new ArgumentNullException("serverShell"); this.commShell = commShell ?? throw new ArgumentNullException("commShell"); this.treeView = treeView ?? throw new ArgumentNullException("treeView"); this.contextMenus = contextMenus ?? throw new ArgumentNullException("contextMenus"); project = null; }
private ScadaProject project; // the current project to build tree /// <summary> /// Initializes a new instance of the class. /// </summary> public ExplorerBuilder(AppData appData, TreeView treeView, ContextMenus contextMenus) { this.appData = appData ?? throw new ArgumentNullException(nameof(appData)); this.treeView = treeView ?? throw new ArgumentNullException(nameof(treeView)); this.contextMenus = contextMenus ?? throw new ArgumentNullException(nameof(contextMenus)); project = null; ProjectNode = null; ConfigDatabaseNode = null; BaseTableNodes = null; ViewsNode = null; InstancesNode = null; }
private ScadaProject project; // the current project to build tree /// <summary> /// Initializes a new instance of the class. /// </summary> public ExplorerBuilder(AppData appData, /*ServerShell serverShell, CommShell commShell, */ TreeView treeView, ContextMenus contextMenus) { this.appData = appData ?? throw new ArgumentNullException(nameof(appData)); //this.serverShell = serverShell ?? throw new ArgumentNullException("serverShell"); //this.commShell = commShell ?? throw new ArgumentNullException("commShell"); this.treeView = treeView ?? throw new ArgumentNullException(nameof(treeView)); this.contextMenus = contextMenus ?? throw new ArgumentNullException(nameof(contextMenus)); project = null; ProjectNode = null; BaseNode = null; BaseTableNodes = null; ViewsNode = null; InstancesNode = null; }