Exemplo n.º 1
0
 private void SetProperties(Department department, Tabulation tabulation)
 {
     Department = department;
     Tabulation = tabulation;
 }
Exemplo n.º 2
0
 private void Validate(Department department, Tabulation tabulation)
 {
     DomainValidation.When(department is null, "Selecione um departamento");
     DomainValidation.When(tabulation is null, "Selecione uma tabulação");
 }
Exemplo n.º 3
0
 public DepartTab(Department department, Tabulation tabulation)
 {
     Department = department;
     Tabulation = tabulation;
 }
Exemplo n.º 4
0
 private void SetProperties(Tabulation tabulation, Form Form)
 {
     Tabulation = tabulation;
     this.Form  = Form;
 }
Exemplo n.º 5
0
 private void Validate(Tabulation tabulation, Form form)
 {
     DomainValidation.When(tabulation is null, "Selecione uma tabulação para criar o formulário");
     DomainValidation.When(form is null, "Selecione o atributo que deseja adicionar no formulário");
 }
Exemplo n.º 6
0
 public FormTab(Tabulation tabulation, Form form)
 {
     Validate(tabulation, form);
     SetProperties(tabulation, form);
 }