protected VitalRecord(IVoca personName) { if (personName == null) { return; } PersonFullName = NfString.DistillSpaces( string.Join(" ", personName.GetName(KindsOfNames.First), personName.GetName(KindsOfNames.Surname))); if (string.IsNullOrWhiteSpace(PersonFullName)) { PersonFullName = personName.GetName(KindsOfNames.Legal); } }
public AmericanDeathCert(MannerOfDeath mannerOfDeath, IVoca personName) : this(mannerOfDeath, (string)null) { if (personName == null) { return; } PersonFullName = NfString.DistillSpaces( string.Join(" ", personName.GetName(KindsOfNames.First), personName.GetName(KindsOfNames.Middle), personName.GetName(KindsOfNames.Surname))); if (string.IsNullOrWhiteSpace(PersonFullName)) { PersonFullName = personName.GetName(KindsOfNames.Legal); } }
public AmericanBirthCert(IVoca personName) : base((IVoca)null) { if (personName == null) { return; } PersonFullName = NfString.DistillSpaces( string.Join(" ", personName.GetName(KindsOfNames.First), personName.GetName(KindsOfNames.Middle), personName.GetName(KindsOfNames.Surname))); if (string.IsNullOrWhiteSpace(PersonFullName)) { PersonFullName = personName.GetName(KindsOfNames.Legal); } }