示例#1
0
        public int[] IndexesOfNames(params string[] names)
        {
            var byName = ServerSide.ToDictionary(v => v.Name.ToLower(), v => v.Order);

            return(names.Select(n => byName[n.ToLower()]).ToArray());
        }