Exemplo n.º 1
0
 /// <summary>
 /// ����ʧ�ܣ���DCTask.begin����ʹ��
 /// </summary>
 /// <param name="taskId"></param>
 /// <param name="reason"></param>
 public void Task_Fail(string taskId, string reason, DATaskType type)
 {
     for (int i = 0; i < loggerList.Count; ++i)
     {
         if (loggerList[i] != null)
         {
             loggerList[i].Task_Fail(taskId, reason, type);
         }
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// �������ɣ���DCTask.begin����ʹ��
 /// </summary>
 /// <param name="taskId"></param>
 public void Task_Complete(string taskId, DATaskType type)
 {
     for (int i = 0; i < loggerList.Count; ++i)
     {
         if (loggerList[i] != null)
         {
             loggerList[i].Task_Complete(taskId, type);
         }
     }
 }