/// <summary> /// Handles the message. /// </summary> /// <param name="message">The message.</param> public void Handle(DeckDetected message) { Execute.OnUIThread( () => { if (engineEvents.Count > 1000) { engineEvents.Clear(); } EngineEvents.Add(message.ToMessageModel(String.Format("Deck detected: {0}", message.Key))); }); }