コード例 #1
0
 public UserFactory(CompanyFactory companyFactory, JobFactory jobFactory)
 {
     _companyFactory = companyFactory;
     _jobFactory     = jobFactory;
 }
コード例 #2
0
 public UserFactory()
 {
     _companyFactory = new CompanyFactory();
     _jobFactory     = new JobFactory();
 }