public static void DumpDasm(this object value) { // Determine the language (Doesn't work when two copies of LINQPad are open) Language linqPadSelectedLanguage = LinqPadUtil.GetLanguageForQuery(); var linqpadSpyPanel = new LinqPadSpyContainer(new Application(), linqPadSelectedLanguage); PanelManager.DisplayWpfElement(linqpadSpyPanel, "Decompiled"); }
public MainWindow() { this.InitializeComponent(); this.Content = new LinqPadSpyContainer(Application.Current, LinqPadUtil.GetLanguageForQuery()); }