Exemple #1
0
 private string SetSituationString(ESituation situation)
 {
     return(situation switch
     {
         ESituation.Active => "ativo",
         ESituation.Inactive => "inativo",
         _ => ""
     });
Exemple #2
0
 public Subject(Description description, ESituation situation, Date registrationDate)
 {
     Description      = description;
     Situation        = situation;
     RegistrationDate = registrationDate;
 }