예제 #1
0
 private void PublishToChildren(RunnerMessage message)
 {
     foreach (var sink in Sinks)
     {
         sink.LogRunnerMessage(message.Message, Assembly.GetExecutingAssembly().GetName().Name, LogLevel.InfoLevel);
     }
 }
예제 #2
0
        private void PublishToChildren(RunnerMessage message)
        {
            foreach (var sink in Sinks)
            {
#if CORECLR
                sink.LogRunnerMessage(message.Message, Assembly.GetEntryAssembly().GetName().Name, LogLevel.InfoLevel);
#else
                sink.LogRunnerMessage(message.Message, Assembly.GetExecutingAssembly().GetName().Name, LogLevel.InfoLevel);
#endif
            }
        }
예제 #3
0
 private void SendMessage(RunnerMessage message)
 {
     messageQueue.Enqueue(message);
     semaphore.Release();
 }
예제 #4
0
 private void PublishToChildren(RunnerMessage message)
 {
     foreach (var sink in Sinks)
         sink.LogRunnerMessage(message.Message, Assembly.GetExecutingAssembly().GetName().Name, LogLevel.InfoLevel);
 }