private bool IsExecutionActive(ref bool isInDebugMode) { if (null == executionSession) { return(false); } return(executionSession.IsExecutionActive(ref isInDebugMode)); }
bool IsDebuggingOrExecuting() { bool isExecuting = false; bool isInDebugMode = false; IExecutionSession session = Solution.Current.ExecutionSession; isExecuting = session.IsExecutionActive(ref isInDebugMode); return(isExecuting || isInDebugMode); }
private bool IsExecuting(ref bool isInDebugMode) { isInDebugMode = false; IExecutionSession session = Solution.Current.ExecutionSession; if (session != null) { return(session.IsExecutionActive(ref isInDebugMode)); } return(false); }