コード例 #1
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);
            }
        }
コード例 #2
0
 public AmericanDeathCert(MannerOfDeath mannerOfDeath) : this(mannerOfDeath, (string)null)
 {
 }
コード例 #3
0
 public AmericanDeathCert(MannerOfDeath mannerOfDeath, DateTime dateOfDeath) : base(dateOfDeath)
 {
     CauseOfDeath = new Stack <string>();
     Category     = mannerOfDeath;
 }
コード例 #4
0
 public AmericanDeathCert(MannerOfDeath mannerOfDeath, string personFullNamen) : base(personFullNamen)
 {
     CauseOfDeath = new Stack <string>();
     Category     = mannerOfDeath;
 }