protected virtual void OnMetaMessageDispatched(MetaMessageEventArgs e) { EventHandler <MetaMessageEventArgs> handler = MetaMessageDispatched; if (handler != null) { handler(this, e); } }
protected virtual void OnMetaMessageDispatched(MetaMessageEventArgs e) { EventHandler<MetaMessageEventArgs> handler = MetaMessageDispatched; if(handler != null) { handler(this, e); } }
static void MIDIMetaMessagePlayed(object sender, MetaMessageEventArgs e) { var m = e.Message; foreach (var b in m.GetBytes()) Console.Write("{0:X} ", b); }
protected virtual void OnMetaMessageDispatched(MetaMessageEventArgs e) { MetaMessageDispatched?.Invoke(this, e); }