Пример #1
0
 private void OnCommunicationReceived(DebugEventArgs args)
 {
     Volatile.Read(ref EngineCommunicationReceived)?.Invoke(this, args);
 }
Пример #2
0
        private void WriteDebugInformation(string info)
        {
            DebugEventArgs debugEventArgs = new DebugEventArgs(info);

            Volatile.Read(ref DebugEventExecuted)?.Invoke(this, debugEventArgs);
        }
Пример #3
0
 protected void OnDebugEventExecuted(object sender, DebugEventArgs args)
 {
     Debug.WriteLine(args.DebugText);
     Volatile.Read(ref DebugEventExecuted)?.Invoke(this, args);
 }
Пример #4
0
 protected void OnDebugEventExecuted(DebugEventArgs args)
 {
     OnDebugEventExecuted(this, args);
 }
Пример #5
0
        protected virtual void OnCommunicationFromEngine(object sender, DebugEventArgs e)
        {
            var message = $"[Fr {Process.Id}] {e.DebugText}";

            OnDebugEventExecuted(new DebugEventArgs(message));
        }