private void OnNextSuggestedMessage(XenMessage msg) { if (msg.Is <GetVisualTreeRequest>()) { Designer.GetVisualTree(); } if (msg.Is <GetWidgetPropertiesRequest>()) { var r = msg as GetWidgetPropertiesRequest; GetWidgetProperties(r?.WidgetId); } }
protected override void OnExecute(XenMessage message) { if (message.Is <ObjectResponse>()) { HandleObject(message as ObjectResponse); } }