コード例 #1
0
        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);
            }
        }
コード例 #2
0
ファイル: Router.cs プロジェクト: nicolasbotto/JniCo
 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);
     }
 }