Esempio n. 1
0
 public bool BothParentsAlive(FactDate when)
 {
     if (Husband is null || Wife is null || FamilyType.Equals(SOLOINDIVIDUAL))
     {
         return(false);
     }
     return(Husband.IsAlive(when) && Wife.IsAlive(when) && Husband.GetAge(when).MinAge > 13 && Wife.GetAge(when).MinAge > 13);
 }
Esempio n. 2
0
 public bool BothParentsAlive(FactDate when)
 {
     if (Husband == null || Wife == null || FamilyID == SOLOINDIVIDUAL)
     {
         return(false);
     }
     return(Husband.IsAlive(when) && Wife.IsAlive(when) && Husband.GetAge(when).MinAge > 13 && Wife.GetAge(when).MinAge > 13);
 }