Exemple #1
0
        private static bool TryParseExceptionalStrings(string str, NamingConvention conv, out Note note)
        {
            note = null;

            if (conv == NamingConvention.German && str.ToUpper() == "B")
            {
                note = new Note(Tone.B, Accidental.Flat);

                return(true);
            }

            return(false);
        }