コード例 #1
0
 public PersonBuilder(FirstNameGenerator firstNameGenerator,
     LastNameGenerator lastNameGenerator,
     Random random)
 {
     _firstNameGenerator = firstNameGenerator;
     _lastNameGenerator = lastNameGenerator;
     _random = random;
 }
コード例 #2
0
 public GenderChangeLifeEvent(FirstNameGenerator firstNameGenerator)
 {
     this._firstNameGenerator = firstNameGenerator;
 }