Esempio n. 1
0
 public virtual IReadOnlyList <string> AllQuantityPaths()
 {
     lock (_locker)
     {
         return(AllIndividualResults.Any() ? AllIndividualResults.First().Select(x => x.QuantityPath).ToArray() : Array.Empty <string>());
     }
 }
        public virtual IReadOnlyList <string> AllQuantityPaths()
        {
            var list = new List <string>();

            lock (_locker)
            {
                if (AllIndividualResults.Count != 0)
                {
                    list.AddRange(AllIndividualResults.First().Select(x => x.QuantityPath));
                }
            }

            return(list);
        }