public void Setup() { var list = new List <Material>(); list.Add(new Gemstone("gem", 12, 12, Color.Black)); list.Add(new PremiumMaterial("premMat", 12, 12)); list.Add(new Material("material", 12, 12)); bijouterie = new Bijouterie("1", list, 1); anotherJewelry = new Jewelry("2", list); }
public void Visit(Bijouterie bijouterie) { bijouterie.FoolRatio = double.Parse(viewModel.FoolRatioPercents) / 100; }