private void DoOnInstrument(string message, int id) { EventHandler <InstrumentationEventArgs> handler = OnInstrument; if (handler != null) { var args = new InstrumentationEventArgs() { Message = message, Id = id }; handler(this, args); } }
private void DoOnInstrument(string message, int id) { EventHandler<InstrumentationEventArgs> handler = OnInstrument; if (handler != null) { var args = new InstrumentationEventArgs() { Message = message, Id = id }; handler(this, args); } }