ScoobyRom.Data.GetCategoriesForExport C# (CSharp) Method

GetCategoriesForExport() public method

public GetCategoriesForExport ( IList list2D, IList list3D ) : string[]
list2D IList
list3D IList
return string[]
        public string[] GetCategoriesForExport(IList<Table2D> list2D, IList<Table3D> list3D)
        {
            var categories2D = list2D.Select (t => t.CategoryForExport);
            var categories3D = list3D.Select (t => t.CategoryForExport);

            return categories2D.Concat (categories3D).Distinct ().OrderBy (c => c).AsParallel ().ToArray ();
        }