Beispiel #1
0
        public static bool TryParse(string str, out OscMidiMessage message)
        {
            try
            {
                message = Parse(str, CultureInfo.InvariantCulture);

                return(true);
            }
            catch
            {
                message = default(OscMidiMessage);

                return(false);
            }
        }
Beispiel #2
0
        public static bool TryParse(string str, IFormatProvider provider, out OscMidiMessage message)
        {
            try
            {
                message = Parse(str, provider);

                return(true);
            }
            catch
            {
                message = default(OscMidiMessage);

                return(false);
            }
        }