public int Add(IGCCoreModule module) { if (module.ModuleType == _type) { return(base.Add(module)); } else { return(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); }
public bool Contains(IGCCoreModule module) { return(base.Contains((object)module)); }
public void Remove(IGCCoreModule module) { base.Remove(module); }