using System;
using System.Collections.Generic;
using System.Windows.Input;
using System.Text;
//using TradeBlotter.ViewModels;

namespace Navigator.Core
{
  public class CommandViewModel : BaseViewModel 
  { 
    public CommandViewModel(string displayName, ICommand command) 
    { 
      if (command == null) throw new ArgumentNullException("command"); 
      base.Title = displayName;
      this.Command = command; 
    } 
    public ICommand Command 
    { 
      get; private set; 
    }
  }
}
