public bool IsExceeded(WorkflowItem workflowItem) { var allEvents = workflowItem.LastSimilarEvents(); return(allEvents.Count() > _count); }
public bool IsExceeded(WorkflowItem workflowItem) { var allEvents = workflowItem.LastSimilarEvents(); return(allEvents.Count() > _count); }