Microsoft.VisualStudio.ProjectSystem.FileSystemMirroring.Project.FileSystemMirroringProject.RemoveItem C# (CSharp) Method

RemoveItem() private method

private RemoveItem ( Microsoft.Build.Construction.ProjectItemGroupElement parent, ProjectItemElement>.Dictionary items, string path ) : void
parent Microsoft.Build.Construction.ProjectItemGroupElement
items ProjectItemElement>.Dictionary
path string
return void
        private void RemoveItem(ProjectItemGroupElement parent, Dictionary<string, ProjectItemElement> items, string path) {
            ProjectItemElement item;
            if (!items.TryGetValue(path, out item)) {
                return;
            }

            parent.RemoveChild(item);
            items.Remove(path);
        }