.NET Decompiler with support for PDB generation, ReadyToRun, Metadata (&more) - cross-platform!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

40 lines
964 B

// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Xml.Linq;
using ICSharpCode.ILSpy.Debugger;
namespace ICSharpCode.ILSpy.Options
{
[ExportOptionPage(Title = "Debugger", Order = 2)]
partial class DebuggerSettingsPanel : UserControl, IOptionPage
{
public DebuggerSettingsPanel()
{
InitializeComponent();
}
public void Load(ILSpySettings settings)
{
var s = DebuggerSettings.Instance;
s.Load(settings);
this.DataContext = s;
}
public void Save(XElement root)
{
var s = (DebuggerSettings)this.DataContext;
s.Save(root);
}
}
}