private void AddXMatterDir(string directory, bool factory) { var xMatterInfo = new XMatterInfo(directory); _all.Add(xMatterInfo); if (factory) { _factoryXMatters.Add(xMatterInfo); } else { _otherXMatters.Add(xMatterInfo); } }
private void AddXMatterDir(string directory, bool factory) { var xMatterInfo = new XMatterInfo(directory); _all.Add(xMatterInfo); if (factory) _factoryXMatters.Add(xMatterInfo); else _otherXMatters.Add(xMatterInfo); }