public StateMachineModifier <TInstance> Event(string name, out Event @event) { @event = _machine.Event(name); return(this); }