コード例 #1
0
 public EmployeeBindingModel build(IEmployeeBuilder builder)
 {
     builder.setName();
     builder.setSurname();
     builder.setPatronymic();
     builder.setPosition();
     return(builder.build());
 }
コード例 #2
0
        public HRDepartment(IEmployeeBuilder builder)
        {
            this.builder = builder;
            Employees    = new List <Employee>();

            builder.SetAdress(new Adress("A", "A", "123"));
            builder.SetData(new Data("Ale", "Herme", new DateTime(1997, 7, 2)));
        }