示例#1
0
文件: AtCmd.cs 项目: yonzkon/mnncs
        public void Register(string name, AtCmdDelegate func)
        {
            ThreadCheck(false);

            if (func_table.ContainsKey(name))
            {
                return;
            }
            func_table.Add(name, func);
        }
示例#2
0
文件: AtCmd.cs 项目: yiend/mnncs
        public void Register(string name, AtCmdDelegate func)
        {
            ThreadCheck(false);

            if (func_table.ContainsKey(name)) return;
            func_table.Add(name, func);
        }
示例#3
0
文件: AtCmd.cs 项目: yiend/mnncs
 public AtCmd(string name, AtCmdDelegate func)
 {
     this.name = name;
     this.func = func;
     this.args_table = new List<object[]>();
 }
示例#4
0
 public AtCmd(string name, AtCmdDelegate func)
 {
     this.name       = name;
     this.func       = func;
     this.args_table = new List <object[]>();
 }