monodevelop-visualizers/gecko/XMLVisualizer.cs

16 строки
404 B
C#

using Gtk;
using MonoDevelop.DebuggerVisualizers;
namespace GeckoVisualizers
{
public class XMLVisualizer : DialogDebuggerVisualizer
{
protected override void Show (IDialogVisualizerService windowService, IVisualizerObjectProvider objectProvider)
{
GeckoWindow win = new GeckoWindow ("XML Visualizer", objectProvider.GetObject().ToString(), "text/xml");
win.Show();
}
}
}