Exemplo n.º 1
0
 private void OnCommunicationReceived(DebugEventArgs args)
 {
     Volatile.Read(ref EngineCommunicationReceived)?.Invoke(this, args);
 }
Exemplo n.º 2
0
        private void WriteDebugInformation(string info)
        {
            DebugEventArgs debugEventArgs = new DebugEventArgs(info);

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

            OnDebugEventExecuted(new DebugEventArgs(message));
        }