Example #1
0
        public virtual void RemoveBuildDependency(IVsBuildDependency dependency)
        {
            if (this.isClosed || dependency == null)
            {
                return;
            }

            if (this.buildDependencyList.Contains(dependency))
            {
                this.buildDependencyList.Remove(dependency);
            }
        }
Example #2
0
        public virtual void AddBuildDependency(IVsBuildDependency dependency)
        {
            if (IsClosed || dependency == null)
            {
                return;
            }

            if (!buildDependencyList.Contains(dependency))
            {
                buildDependencyList.Add(dependency);
            }
        }