コード例 #1
0
ファイル: Customer.cs プロジェクト: ArturKorop/Splendor
 public Customer(CustomerDto dto)
 {
     Price = new Price(dto.Price);
     Vp = dto.Vp;
     Name = dto.Name;
     Id = dto.Id;
 }
コード例 #2
0
ファイル: Customer.cs プロジェクト: ArturKorop/Splendor
 public Customer(Price price, int vp, string name, int id)
 {
     Price = price;
     Vp = vp;
     Name = name;
     Id = id;
 }
コード例 #3
0
ファイル: Card.cs プロジェクト: ArturKorop/Splendor
 public Card(CardDto dto)
 {
     Price = new Price(dto.Price);
     GemProduct = dto.GemProduct;
     Level = dto.Level;
     Vp = dto.Vp;
     Id = dto.Id;
 }
コード例 #4
0
ファイル: Card.cs プロジェクト: ArturKorop/Splendor
 public Card(Price price, Gem product, int level, int vp, int id)
 {
     Price = price;
     GemProduct = product;
     Level = level;
     Vp = vp;
     Id = id;
 }