コード例 #1
0
 public Flower(double price, string color, string country)
 {
     FlowerProperties = new FlowerProperties
     {
         Color   = color,
         Price   = price,
         Country = country
     };
 }
コード例 #2
0
 public Flower(Flower flower)
 {
     FlowerProperties = new FlowerProperties
     {
         Color   = flower.GetColor(),
         Price   = flower.GetPrice(),
         Country = flower.GetCoutry()
     };
 }
コード例 #3
0
 public Flower()
 {
     FlowerProperties = new FlowerProperties();
 }