Exemple #1
0
 public void GetKernel(string kernel)
 {
     Jewelry[] selection = JewelryType.Where(i => i.Kernel.Material.Name == kernel).ToArray <Jewelry>();
     JewelryType.Clear();
     foreach (Jewelry j in selection)
     {
         JewelryType.Add(j);
     }
 }
Exemple #2
0
 public void GetCombine()
 {
     Jewelry[] selection = JewelryType.Where(i => i.Basis.Material.Name == "комбинированный").ToArray <Jewelry>();
     JewelryType.Clear();
     foreach (Jewelry j in selection)
     {
         JewelryType.Add(j);
     }
 }
Exemple #3
0
 public void GetBrand(string brand)
 {
     Jewelry[] selection = JewelryType.Where(i => i.Brand == brand).ToArray <Jewelry>();
     JewelryType.Clear();
     foreach (Jewelry j in selection)
     {
         JewelryType.Add(j);
     }
 }
Exemple #4
0
 public void GetGold()
 {
     Jewelry[] selection = JewelryType.Where(i => i.Basis.Material.Name == "золото").ToArray <Jewelry>();
     JewelryType.Clear();
     foreach (Jewelry j in selection)
     {
         JewelryType.Add(j);
     }
 }