/// 初期化 public GenericGearDispatcher(AddBehavior.MethodType addBehavior, bool once, PosInfos dispatcherPos) { _addBehavior = addBehavior; _once = once; _dispatcherPos = dispatcherPos; _executeLock = false; _list = new List <GearDispatcherHandler <TFunc> >(); }
/// 初期化 public GearDispatcher(AddBehavior.MethodType addBehavior, bool once, PosInfos pos) { GenericGearDispatcher = new GenericGearDispatcher <Action>(addBehavior, once, pos); }