VsTeXProject.VisualStudio.Project.ProjectNode.IsCurrentStateASuppressCommandsMode C# (CSharp) Method

IsCurrentStateASuppressCommandsMode() protected method

Defines whther the current mode of the project is in a supress command mode.
protected IsCurrentStateASuppressCommandsMode ( ) : bool
return bool
        protected internal virtual bool IsCurrentStateASuppressCommandsMode()
        {
            if (VsShellUtilities.IsSolutionBuilding(Site))
            {
                return true;
            }

            var dbgMode = VsShellUtilities.GetDebugMode(Site) & ~DBGMODE.DBGMODE_EncMask;
            if (dbgMode == DBGMODE.DBGMODE_Run || dbgMode == DBGMODE.DBGMODE_Break)
            {
                return true;
            }

            return false;
        }
ProjectNode