public void CurrentCommandComplete() { currentAllocator.FreeCommand(pool, currentCommand); currentCommand = null; if (enumerator.MoveNext()) { Next(); } else { pool.Unlock(triggeringEvent.GetType(), triggeringEvent, this); manager.CompleteChainExecution <EventCommandChainExecutor>(this); } }
public void CurrentCommandComplete() { pool.Free <T>(command); manager.CompleteChainExecution <SimpleCommandChainExecutor <T> >(this); }