public CreatePersonCommandHandler( IPersonCreator personCreator, IPersonRepository personRepository) { PersonCreator = personCreator; PersonRepository = personRepository; }
public SchoolClassBuilder(IClassAssigner classAssigner, IPersonCreator personCreator, ITestBuilder testBuilder, ICourseManager courseManager, ITestAssigner testAssigner) { terms = new List <Term>(); classes = new List <SchoolClass>(); this.classAssigner = classAssigner; this.personCreator = personCreator; this.testBuilder = testBuilder; this.courseManager = courseManager; this.testAssigner = testAssigner; }
public HouseholdWrapper(IHousehold household) { _household = household; _exporter = Global .Kernel .Get <IPersistenceFactory <IHousehold> >() .Exporter; // person fields _personReader = Global .Kernel .Get <IPersistenceFactory <IPerson> >() .Reader; _personCreator = Global .Kernel .Get <IWrapperFactory <IPersonCreator> >() .Creator; // household day fields _householdDayReader = Global .Kernel .Get <IPersistenceFactory <IHouseholdDay> >() .Reader; _householdDayCreator = Global .Kernel .Get <IWrapperFactory <IHouseholdDayCreator> >() .Creator; RandomUtility = new RandomUtility(); }
public PersonProvider(IPersonCreator creator) => this.creator = creator;
public PersonCreator(IPersonCreator personCreator) { _personCreator = personCreator; }