public CasePlanInstanceAggregate() { Roles = new List <CasePlanInstanceRole>(); WorkerTasks = new ConcurrentBag <CasePlanInstanceWorkerTask>(); ExecutionContext = new CasePlanInstanceExecutionContext(this); Files = new ConcurrentBag <CasePlanInstanceFileItem>(); Children = new ConcurrentBag <BaseCaseEltInstance>(); }
public bool IsManualActivationRuleSatisfied(CasePlanInstanceExecutionContext executionContext) { return(ManualActivationRule.IsSatisfied(executionContext)); }
public bool IsSatisfied(CasePlanInstanceExecutionContext executionContext) { return(ExpressionParser.IsValid(Expression.Body, executionContext)); }