* Refactoring CommandHistoryService to prepare "Recent" menu item feature. * "Recent" menu implemented, but still not bound to commands. * "Recent" menu implemented.
19 lines
462 B
C#
19 lines
462 B
C#
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;
|
|
}
|
|
}
|
|
} |