Created
December 29, 2017 15:23
-
-
Save kevingosse/86c9cc126da1b564d64e895f67959091 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
using System.ComponentModel.Composition; | |
using System.Windows; | |
using DbgX.Interfaces; | |
using DbgX.Util; | |
namespace WinDbgExt.History | |
{ | |
[RibbonTabGroupExtensionMetadata("ViewRibbonTab", "Windows", 5), Export(typeof(IDbgRibbonTabGroupExtension))] | |
public class HistoryViewModel : IDbgRibbonTabGroupExtension | |
{ | |
public HistoryViewModel() | |
{ | |
ShowCommand = new DelegateCommand(Show); | |
} | |
public DelegateCommand ShowCommand { get; } | |
public IEnumerable<FrameworkElement> Controls => new[] { new HistoryButton(this) }; | |
private void Show() | |
{ | |
// TODO | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment