public void ThrowOnTreeishConflict(DepWithParent depWithParent) { if (container.ContainsKey(depWithParent.Dep.Name)) { TreeishManager.ThrowOnTreeishConflict(depWithParent, container[depWithParent.Dep.Name]); } }
public ModulesContainer() { container = new Dictionary <string, IList <DepWithParent> >(); proceedConfigs = new Dictionary <string, IList <string> >(); currentTreeish = new Dictionary <string, string>(); treeishManager = new TreeishManager(); }
public bool IsProcessed(Dep dep) { return(container.ContainsKey(dep.Name) && new ConfigurationManager(dep.Name, container[dep.Name].Select(dP => dP.Dep)).ProcessedParent(dep) && TreeishManager.TreeishAlreadyProcessed(dep, container[dep.Name].Select(dP => dP.Dep).ToList())); }