using TeaBox.Bootstrap; using TeaBox; using TeaBox.ObjectModel; namespace ConductorDebugger.Plugin { [Export(typeof(IBootstrapCommand))] public class BootstrapPlugin : IBootstrapCommand { public void Execute() { ConductorDebuggerPlugin.Instance.Start(); Application.Main.Quitted += Main_Quitted; } void Main_Quitted(object sender, System.EventArgs e) { ConductorDebuggerPlugin.Instance.Dispose(); } } }