示例#1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="baseCase"></param>
        public static void Add(BaseCase baseCase)
        {
            var args = new CaseEventArgs()
            {
                Case = baseCase
            };

            CaseEventHandle temp = Casehandle;

            if (temp != null)
            {
                foreach (CaseEventHandle handler in temp.GetInvocationList())
                {
                    handler.BeginInvoke(null, args, new AsyncCallback(EndAsync), null);
                }
            }
        }
示例#2
0
 static CaseManager()
 {
     Casehandle += new CaseEventHandle(ProcessCase);
 }
示例#3
0
 static CaseManager()
 {
     Casehandle += new CaseEventHandle(ProcessCase);
 }