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>(); }
private bool CheckModule(Dependancy dependancy) { return this.modules.ContainsKey(dependancy.name) && dependancy.version_predicate(this.modules[dependancy.name].version); }