Пример #1
0
 public ModuleAdapter(string name, float version, Dependancy[] dependancy, ModuleManager manager)
 {
     this.name = name;
     this.version = version;
     this.dependancy = dependancy;
     this.manager = manager;
     this.watchers = new List<Watcher>();
 }
Пример #2
0
 private bool CheckModule(Dependancy dependancy)
 {
     return this.modules.ContainsKey(dependancy.name) && dependancy.version_predicate(this.modules[dependancy.name].version);
 }