Ejemplo n.º 1
0
        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");
        }
Ejemplo n.º 2
0
        public MainWindow()
        {
            this.InitializeComponent();

            this.Content = new LinqPadSpyContainer(Application.Current, LinqPadUtil.GetLanguageForQuery());
        }