コード例 #1
0
 internal object[] Materials(string model)
 {
     return(EnabledRows.Where(x => x.Model == model).Select(x => x.Material).Distinct().OrderBy(s => s).ToArray());
 }
コード例 #2
0
 internal MaterialsRow GetResult(string model, string material, string action, string thickness)
 {
     return(EnabledRows.Where(x => x.Model == model && x.Material == material && x.Thickness == thickness && x.Action == action).First());
 }
コード例 #3
0
 internal object[] Models()
 {
     return(EnabledRows.Select(x => x.Model).Distinct().OrderBy(s => s).ToArray());
 }
コード例 #4
0
 internal object[] Thickness(string model, string material, string action)
 {
     return(EnabledRows.Where(x => x.Model == model && x.Material == material && x.Action == action).Select(x => x.Thickness).Distinct().OrderBy(s => s).ToArray());
 }