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; }
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; }