public void SetUp() { theInstruction = new BeginWhen(); theSettings = new HistorySettings(); theServices = new InMemoryServiceLocator(); theServices.Add(theSettings); theServices.Add <IActEntryConditionRegistry>(new ActEntryConditionRegistry()); theContext = new ActEntryConditionContext(new WorkflowObject(), theServices); }
/// <summary> /// Invokes the begin-when event. /// </summary> protected virtual void InvokeBeginWhen() { var args = new ActorEventArgs(this); BeginWhen?.Invoke(this, args); }
public void Visit(BeginWhen instruction) { _ignores.Push(instruction); }