示例#1
0
 private void SetProperties(Department department, Tabulation tabulation)
 {
     Department = department;
     Tabulation = tabulation;
 }
示例#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");
 }
示例#3
0
 public DepartTab(Department department, Tabulation tabulation)
 {
     Department = department;
     Tabulation = tabulation;
 }
示例#4
0
 private void SetProperties(Tabulation tabulation, Form Form)
 {
     Tabulation = tabulation;
     this.Form  = Form;
 }
示例#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");
 }
示例#6
0
 public FormTab(Tabulation tabulation, Form form)
 {
     Validate(tabulation, form);
     SetProperties(tabulation, form);
 }