static void Init() { StateMachineInspector inspector = CreateInstance <StateMachineInspector>(); inspector.titleContent = new GUIContent("SM Inspector"); inspector.Show(); }
public void Accept(StateMachineInspector inspector) { inspector.Inspect(this, _ => _activityCache.Each((key, value) => { key.Accept(inspector); value.ForEach(activity => activity.Accept(inspector)); })); }
public void Accept(StateMachineInspector inspector) { inspector.Inspect(this, _ => { _activities.ForEach(activity => { activity.Accept(inspector); _exceptionHandlers.Each((type, handler) => handler.ForEach(x => x.Accept(inspector))); }); }); }
public void Accept(StateMachineInspector inspector) { Initial.Accept(inspector); _stateCache.Each(x => { if (x == Initial || x == Final) { return; } x.Accept(inspector); }); Final.Accept(inspector); }
public void Accept(StateMachineInspector inspector) { Initial.Accept(inspector); _stateCache.Each(x => { if (Equals(x, Initial) || Equals(x, Final)) { return; } x.Accept(inspector); }); Final.Accept(inspector); }
public override void Accept(StateMachineInspector inspector) { inspector.Inspect(this, x => { }); }
public virtual void Accept(StateMachineInspector inspector) { inspector.Inspect(this, x => { }); }
public virtual void Accept(StateMachineInspector inspector) { inspector.Inspect(this, x => { }); }
private static void DisplayStateMachine() { Trace.Listeners.Add(new TextWriterTraceListener(Console.Out)); StateMachineInspector.Trace(new DrinkPreparationSaga(CombGuid.Generate())); }
public void The_visualizer_should_work() { RegisterUserStateMachine workflow = new RegisterUserStateMachine(); StateMachineInspector.Trace(workflow); }
public void Accept(StateMachineInspector inspector) { inspector.Inspect(this, x => _activity.Accept(inspector)); }
public void I_want_to_see_what_you_see() { var machine = new ExampleStateMachine(); StateMachineInspector.Trace(machine); }
public void Accept(StateMachineInspector inspector) { inspector.Inspect(this, _ => _activities.ForEach(activity => activity.Accept(inspector))); }
void AcceptStateMachineInspector.Accept(StateMachineInspector inspector) { inspector.Inspect(this, x => { }); }
public void Accept(StateMachineInspector inspector) { _activity.Accept(inspector); }
static void DisplayStateMachine() { Trace.Listeners.Add(new TextWriterTraceListener(Console.Out)); StateMachineInspector.Trace(new CashierSaga(CombGuid.Generate())); }
public void Should_be_visible_in_the_visualizer() { var machine = new AnytimeStateMachineTest(); StateMachineInspector.Trace(machine); }