Esempio n. 1
0
 public Supplier(SupplierInformation info)
 {
     Info = new SupplierInformation()
     {
         Name     = info.Name,
         Location = info.Location,
         Watches  = info.Watches,
         Rating   = info.Rating,
         Preview  = info.Preview
     };
 }
Esempio n. 2
0
 public Supplier(string name, string address, double rating = 0, int watches = 0)
 {
     Info = new SupplierInformation()
     {
         Name     = name,
         Rating   = rating,
         Watches  = watches,
         Location = new Location()
         {
             Address = address
         }
     };
 }