示例#1
0
文件: SubStore.cs 项目: Sloves/Rant
 public void Define(string name, Subroutine sub)
 {
     _table[_.Create(name.ToLower().Trim(), sub.ParamCount)] = sub;
 }
示例#2
0
文件: SubStore.cs 项目: Sloves/Rant
 internal void Remove(Subroutine sub)
 {
     _table.Remove(_table.FirstOrDefault(x => x.Value == sub).Key);
 }