Esempio n. 1
0
        public static Applicant Random(String ClassName, CompanyInformation info)
        {
            var r = new Applicant();

            r.GenerateRandom(ClassName, 0, info);
            return(r);
        }
Esempio n. 2
0
        public void GenerateApplicants(CompanyInformation info)
        {
            Applicants = new List <Applicant>();

            foreach (KeyValuePair <JobLibrary.JobType, EmployeeClass> employeeType in JobLibrary.Classes)
            {
                for (int i = 0; i < 5; i++)
                {
                    Applicant applicant = new Applicant();
                    applicant.GenerateRandom(employeeType.Value, 0, info);
                    Applicants.Add(applicant);
                }
            }
        }
Esempio n. 3
0
        public void GenerateApplicants()
        {
            Applicants = new List<Applicant>();

            foreach (KeyValuePair<JobLibrary.JobType, EmployeeClass> employeeType in JobLibrary.Classes)
            {
                for (int i = 0; i < 5; i++)
                {
                    Applicant applicant = new Applicant();
                    applicant.GenerateRandom(employeeType.Value, 0);
                    Applicants.Add(applicant);
                }
            }
        }