Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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