public TfsQueryShortcutOpener(DocumentService documentService,
                               IVisualStudioAdapter visualStudioAdapter, TfsQueryShortcutStore store)
 {
     this.documentService     = documentService;
     this.visualStudioAdapter = visualStudioAdapter;
     this.store = store;
 }
 public TfsQueryShortcutOpener(DocumentService documentService,
                               IVisualStudioAdapter visualStudioAdapter, TfsQueryShortcutStore store)
 {
     this.documentService = documentService;
     this.visualStudioAdapter = visualStudioAdapter;
     this.store = store;
 }
        public TfsQueryShortcutViewModel(TfsQueryShortcutAssigner shortcutAssigner,
            TfsQueryShortcutOpener shortcutOpener, TfsQueryShortcutStore store, GeneralOptions options)
        {
            this.store = store;
            this.options = options;

            commandHandlerMappings = new Dictionary<int, Action>
            {
                {MenuCommands.AssignTfsQueryShortcut1, () => shortcutAssigner.Assign(0)},
                {MenuCommands.AssignTfsQueryShortcut2, () => shortcutAssigner.Assign(1)},
                {MenuCommands.AssignTfsQueryShortcut3, () => shortcutAssigner.Assign(2)},
                {MenuCommands.AssignTfsQueryShortcut4, () => shortcutAssigner.Assign(3)},
                {MenuCommands.AssignTfsQueryShortcut5, () => shortcutAssigner.Assign(4)},
                {MenuCommands.OpenTfsQuery1, () => shortcutOpener.Open(0)},
                {MenuCommands.OpenTfsQuery2, () => shortcutOpener.Open(1)},
                {MenuCommands.OpenTfsQuery3, () => shortcutOpener.Open(2)},
                {MenuCommands.OpenTfsQuery4, () => shortcutOpener.Open(3)},
                {MenuCommands.OpenTfsQuery5, () => shortcutOpener.Open(4)},
            };
        }
 public TfsQueryShortcutAssigner(TfsQueryShortcutStore shortcutStore, IVisualStudioAdapter visualStudioAdapter)
 {
     this.shortcutStore = shortcutStore;
     this.visualStudioAdapter = visualStudioAdapter;
 }
 public TfsQueryShortcutAssigner(TfsQueryShortcutStore shortcutStore, IVisualStudioAdapter visualStudioAdapter)
 {
     this.shortcutStore       = shortcutStore;
     this.visualStudioAdapter = visualStudioAdapter;
 }