public LocalModulesNode(NodejsProjectNode root, NodeModulesNode parent, string caption, string virtualName, DependencyType dependencyType) : base(root) { _parent = parent; _caption = caption; VirtualName = virtualName; PackagesDependencyType = dependencyType; }
protected override void Dispose(bool disposing) { if (disposing) { lock (this._idleNodeModulesLock) { if (this._idleNodeModulesTimer != null) { this._idleNodeModulesTimer.Dispose(); } this._idleNodeModulesTimer = null; } OnDispose?.Invoke(this, EventArgs.Empty); var node = this.ModulesNode; if (node != null) { RemoveChild(node); node.Dispose(); } this.ModulesNode = null; } base.Dispose(disposing); }
public LocalModulesNode(NodejsProjectNode root, NodeModulesNode parent, string caption, string virtualName, DependencyType dependencyType) : base(root) { this._parent = parent; this._caption = caption; this.VirtualName = virtualName; this.PackagesDependencyType = dependencyType; }
protected internal override void ProcessReferences() { base.ProcessReferences(); if (null == ModulesNode) { ModulesNode = new NodeModulesNode(this); AddChild(ModulesNode); _idleNodeModulesTimer = new Timer(OnIdleNodeModules); ModulesNode.NpmController.FinishedRefresh += NodeModules_FinishedRefresh; } }
protected internal override void ProcessReferences() { base.ProcessReferences(); if (null == ModulesNode) { ModulesNode = new NodeModulesNode(this); AddChild(ModulesNode); } }
internal NpmPathProvider(NodeModulesNode owner) { _owner = owner; }
internal NpmPathProvider(NodeModulesNode owner) { this._owner = owner; }
public GlobalModulesNode(NodejsProjectNode root, NodeModulesNode parent) : base(root) { _parent = parent; }