Exemplo n.º 1
0
        /// <summary>
        /// 路由处理
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        /// <returns></returns>
        public int Handle(object sender, CQEventEventArgs e)
        {
            foreach (CommandServiceProvider ACommand in CommandList)
            {
                if (ACommand.Handle(sender, e) == 1)
                {
                    return(1);
                }
            }

            return(0);
        }