public ConfigurationViewModel()
 {
     //todo: constructor injection?
     _hotkeyManager   = App.Container.Resolve <HotKeyManager>();
     SmileCollection  = App.Container.Resolve <SmileCollection>();
     _shortcutCreator = App.Container.Resolve <IShortcutCreator>();
     _commands        = App.Container.Resolve <ConfigurationViewModelCommands>();
 }
        public ConfigurationViewModelCommands(HotKeyManager hotKeyManager, SmileCollection smileCollection, IShortcutCreator shortcutCreator)
        {
            _hotKeyManager   = hotKeyManager;
            _smileCollection = smileCollection;
            _shortcutCreator = shortcutCreator;

            SaveCommand   = new DelegateCommand(saveCommandExecute);
            ExportCommand = new DelegateCommand(exportCommandExecute);
            ImportCommand = new DelegateCommand(importCommandExecute);
            QuitCommand   = new DelegateCommand(quitCommandExecute);

            RunOnStartupCommand      = new DelegateCommand <bool?>(StartupCommandExecute);
            HelpCommand              = new DelegateCommand(showHelpCommandExecute);
            CheckLastReleasesCommand = new DelegateCommand(checkLastReleasesExecute);
            AboutCommand             = new DelegateCommand(aboutCommandExecute);

            AddCommand = new DelegateCommand(addCommandExecute);
        }