Ejemplo n.º 1
0
        private void OnEvent(Value128 id, string eventType, object data)
        {
            var instructionCount = Ui.InstructionCount;

            Trace.TraceInformation($"Event: {eventType} on element {id}");
            Ui.AddEvent(eventType, id, data);
            Begin();
            Ui.Invoke(Handler);

            if (Ui.InstructionCount != instructionCount)
            {
                Trace.TraceInformation("Pending update");
            }
        }