"Recent" menu implemented (#585)

* Refactoring CommandHistoryService to prepare "Recent" menu item feature.

* "Recent" menu implemented, but still not bound to commands.

* "Recent" menu implemented.
This commit is contained in:
Aleksandar Pesic authored and Felix Seidl committed 2019-11-20 18:17:40 +01:00
1 parent 5bc679d8e6
commit a872d126ce
15 files changed
+510 -313

No files matched your search

@@ -0,0 +1,19 @@
using FluentTerminal.Models;
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Command;
namespace FluentTerminal.App.ViewModels
{
public class ProfileCommandViewModel : ViewModelBase
{
public ShellProfile Profile { get; }
public RelayCommand Command { get; }
public ProfileCommandViewModel(ShellProfile profile, RelayCommand command)
{
Profile = profile;
Command = command;
}
}
}