Пример #1
0
 void findMissing(Hash <string, string> missing, string[] messages, Func <string, bool> func, string interfaceName)
 {
     foreach (string message in messages.Where(m => !func(m)))
     {
         missing[message] = interfaceName;
     }
 }
Пример #2
0
        bool compareArrayOne(Value x, Array y)
        {
            var found = false;

            foreach (var _ in y.Where(item => Compare(x.Compare(item.Value))))
            {
                if (found)
                {
                    return(false);
                }
                found = true;
            }
            return(found);
        }
Пример #3
0
        bool compareArrayOne(Array x, Value y)
        {
            var found = false;

            foreach (var _ in x.Where(item => Compare(item.Value.Compare(y))))
            {
                if (found)
                {
                    return(false);
                }
                found = true;
            }
            return(found);
        }