コード例 #1
0
 public PronounciationNotSet(SpanishCharComb cc) : base(cc.Comb)
 {
 }
コード例 #2
0
 public PronSetTwiceException(SpanishCharComb charComb) : base($"The pronunciation of char combination {charComb} is set twice")
 {
 }
コード例 #3
0
 public static bool IsSemiVowelComb(SpanishCharComb comb) => comb.Comb == "u" || comb.Comb == "i";
コード例 #4
0
 public static bool IsYComb(SpanishCharComb comb) => comb.Comb == "y";
コード例 #5
0
 public static bool IsConsonantComb(SpanishCharComb comb) => !IsVowelComb(comb);
コード例 #6
0
        public static bool IsVowelComb(SpanishCharComb comb)
        {
            var c = comb.Comb;

            return(c.Length == 1 && VowelComb.Contains(c[0]));
        }