Microsoft.VisualStudio.Project.NestedProjectNode.IgnoreNestedProjectFile C# (CSharp) Method

IgnoreNestedProjectFile() protected method

Ignores observing changes on this file depending on the boolean flag.
protected IgnoreNestedProjectFile ( bool ignoreFlag ) : void
ignoreFlag bool Flag indicating whether or not to ignore changes (1 to ignore, 0 to stop ignoring).
return void
        protected virtual void IgnoreNestedProjectFile(bool ignoreFlag)
        {
            ProjectContainerNode parent = this.ProjectManager as ProjectContainerNode;
            Debug.Assert(parent != null, "The parent project for nested projects should be subclassed from ProjectContainerNode");
            parent.NestedProjectNodeReloader.IgnoreItemChanges(this.GetMKDocument(), ignoreFlag);
        }