示例#1
0
 public int Add(IGCCoreModule module)
 {
     if (module.ModuleType == _type)
     {
         return(base.Add(module));
     }
     else
     {
         return(0);
     }
 }
示例#2
0
        public IGCCoreModule GetModule(ushort uid)
        {
            IGCCoreModule Result = null;

            foreach (Object Item in this)
            {
                IGCCoreModule Module = (IGCCoreModule)Item;
                if (Module.UID == uid)
                {
                    Result = Module;
                    break;
                }
            }
            return(Result);
        }
示例#3
0
 public bool Contains(IGCCoreModule module)
 {
     return(base.Contains((object)module));
 }
示例#4
0
 public void Remove(IGCCoreModule module)
 {
     base.Remove(module);
 }