예제 #1
0
 private HonorificPrefix(
     int honorificPrefixID,
     [NotNull] HonorificPrefixClassification prefixClassification,
     [NotNull] LinguisticGender linguisticGender,
     [NotNull] string prefixAbbreviation,
     [CallerMemberName, NotNull] string memberName = "") : this(
         prefixClassification,
         linguisticGender,
         prefixAbbreviation,
         memberName.Replace('_', ' '))
 {
     HonorificPrefixID = honorificPrefixID;
 }
예제 #2
0
 private PostNominalSuffix(
     int postNominalSuffixID,
     [NotNull] PostNominalSuffixClassification postNominalClassification,
     [NotNull] LinguisticGender linguisticGender,
     [NotNull] string suffixAbbreviation,
     [CallerMemberName, NotNull] string memberName = "") : this(
         postNominalClassification,
         linguisticGender,
         suffixAbbreviation,
         memberName.Replace('_', ' '))
 {
     PostNominalSuffixID = postNominalSuffixID;
 }
예제 #3
0
        public HonorificPrefix(
            [NotNull] HonorificPrefixClassification prefixClassification,
            [NotNull] LinguisticGender linguisticGender,
            [NotNull] string prefixAbbreviation,
            [NotNull] string prefixName) : this()
        {
            prefixClassification.IsNotNull(nameof(prefixClassification));
            linguisticGender.IsNotNull(nameof(linguisticGender));
            prefixAbbreviation.IsNotNull(nameof(prefixAbbreviation));
            prefixName.IsNotNull(nameof(prefixName));

            PrefixClassification = prefixClassification;
            LinguisticGender     = linguisticGender;
            PrefixAbbreviation   = prefixAbbreviation;
            PrefixName           = prefixName;
        }
예제 #4
0
        public PostNominalSuffix(
            [NotNull] PostNominalSuffixClassification postNominalClassification,
            [NotNull] LinguisticGender linguisticGender,
            [NotNull] string suffixAbbreviation,
            [NotNull] string suffixName) : this()
        {
            postNominalClassification.IsNotNull(nameof(postNominalClassification));
            linguisticGender.IsNotNull(nameof(linguisticGender));
            suffixAbbreviation.IsNotNull(nameof(suffixAbbreviation));
            suffixName.IsNotNull(nameof(suffixName));

            PostNominalClassification = postNominalClassification;
            LinguisticGender          = linguisticGender;
            SuffixAbbreviation        = suffixAbbreviation;
            SuffixName = suffixName;
        }