HasQueuedExecutions() public method

public HasQueuedExecutions ( ) : bool
return bool
        private List <string> GetActiveTaskExecutionIds(CriticalSectionState csState)
        {
            var taskExecutionIds = new List <string>();

            if (!HasEmptyGranteeValue(csState))
            {
                taskExecutionIds.Add(csState.GrantedToExecution);
            }

            if (csState.HasQueuedExecutions())
            {
                taskExecutionIds.AddRange(csState.GetQueue().Select(x => x.TaskExecutionId));
            }

            return(taskExecutionIds);
        }
        private List<string> GetActiveTaskExecutionIds(CriticalSectionState csState)
        {
            var taskExecutionIds = new List<string>();

            if (!HasEmptyGranteeValue(csState))
                taskExecutionIds.Add(csState.GrantedToExecution);

            if (csState.HasQueuedExecutions())
                taskExecutionIds.AddRange(csState.GetQueue().Select(x => x.TaskExecutionId));

            return taskExecutionIds;
        }