public TreeUpdateTask(EditorTree editorTree, ICoreShell shell) { _editorTree = editorTree; _shell = shell; if (_shell != null) { _shell.Idle += OnIdle; } } #endregion