Exemple #1
0
        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);
            }
        }
Exemple #2
0
        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);
            }
        }