public void Inspect(IStateMachineInspector inspector) { inspector.Inspect(this, () => { _actions.Each(item => inspector.Inspect(item.Key, () => { item.Value.Each(x => inspector.Inspect(x, () => { x.EventActions.Each(inspector.Inspect); })); })); }); }