mirror of
https://github.com/ZuneDev/MicrosoftIris.git
synced 2026-07-27 13:13:29 -07:00
21 lines
501 B
C#
21 lines
501 B
C#
using System;
|
|
|
|
namespace Microsoft.Iris.Debug
|
|
{
|
|
public class Bridge : IBridge
|
|
{
|
|
public event EventHandler<Data.InterpreterEntry> InterpreterStep;
|
|
public event Action<string> DispatcherStep;
|
|
|
|
public void LogInterpreterOpCode(object context, Data.InterpreterEntry entry)
|
|
{
|
|
InterpreterStep?.Invoke(context, entry);
|
|
}
|
|
|
|
public void LogDispatcher(string message)
|
|
{
|
|
DispatcherStep?.Invoke(message);
|
|
}
|
|
}
|
|
}
|