예제 #1
0
 public Dog(Guid dogHouseId, bool isInDogHouse, DateTime depositAt, DogBreed race, string name, int age)
 {
     DogHouseId   = DogHouseId;
     IsInDogHouse = isInDogHouse;
     DepositAt    = depositAt;
     Race         = race;
     Name         = name;
     Age          = age;
 }
예제 #2
0
 public DogBuilder WithBreed(DogBreed race)
 {
     this.race = race;
     return(this);
 }