Пример #1
0
        internal FactALInterface GetFactInterfaceFor(FactALInterface factIn)
        {
            var factOut = GetFactInterfaceByName(factIn.Name);

            if (factOut == null)
            {
                FactInterfaces.Add(factIn);
                factOut = factIn;
            }
            return(factOut);
        }
Пример #2
0
 internal FactALInterface GetFactInterfaceByName(string name)
 {
     return(FactInterfaces.SingleOrDefault(i => i.Name == name));
 }