Beispiel #1
0
 public EventQueue(QueueCallBack callback)
 {
     //queueCallBacks = new List<EventAction>();
     mandatoryCallBacks = new List <EventAction>();
     optionalCallBacks  = new List <EventAction>();
     finishedCallBack   = callback;
 }
    public void CreateCallBackQueue(QueueCallBack finished)
    {
        EventQueue queue = new EventQueue(finished);

        App.Model.queueModel.NewQueue(queue);
    }
Beispiel #3
0
 /// <summary>
 /// 停止回调
 /// </summary>
 /// 创建者:万浩
 /// 创建日期:2017/12/05 15:04
 /// 修改者:
 /// 修改时间:
 /// ----------------------------------------------------------------------------------------
 protected void OnQueueCallBack(TQueue queue)
 {
     QueueCallBack?.Invoke(queue, null);
 }