public static bool TryParse(string str, out OscMidiMessage message) { try { message = Parse(str, CultureInfo.InvariantCulture); return(true); } catch { message = default(OscMidiMessage); return(false); } }
public static bool TryParse(string str, IFormatProvider provider, out OscMidiMessage message) { try { message = Parse(str, provider); return(true); } catch { message = default(OscMidiMessage); return(false); } }