static void Main(string[] args) { // Random data generator var inputSize = 70000; var randomData = Enumerable.Range(0, inputSize) .Select(i => Builder <JobCandidate> .CreateNew() .With(a => a.Value = i) .With(a => a.Age = 100) .With(a => a.Index = i) .With(a => a.References = Builder <Reference> .CreateListOfSize(30).Build().ToList()) .Build()); IHRSystem hrSystem = HRSystemFactory.Build(HRSystemType.LinqCo); var mapper = new MapperConfiguration(cfg => cfg.CreateMap <JobCandidate, Employee>()).CreateMapper(); (long, JobCandidate, IEnumerable <Employee>)result = hrSystem.ProcessApplications(randomData, mapper); if (ValidateResult(inputSize, result)) { Console.WriteLine($"Approach passed 👍"); } }
public void ShowEmpoyeeList(IHRSystem hr) { List <string> lista = hr.GetEmployees(); }