internal FactALInterface GetFactInterfaceFor(FactALInterface factIn) { var factOut = GetFactInterfaceByName(factIn.Name); if (factOut == null) { FactInterfaces.Add(factIn); factOut = factIn; } return(factOut); }
internal FactALInterface GetFactInterfaceByName(string name) { return(FactInterfaces.SingleOrDefault(i => i.Name == name)); }