public void PostAction(EDispatcherEvents type, BaseActionArgument arg = null, Action <int, object> onDone = null) { var worker = new InternalLogicEvent(type, arg, onDone); worker.Next = mModules.GetEnumerator(); worker.MoveNext(); }
public InternalLogicEvent(EDispatcherEvents type, BaseActionArgument args = null, Action <int, object> onDone = null) { EventType = type; Args = args; OnDone = onDone; }