public ShowChangesetItemsModel(WorkItemSelectionService workItemSelectionService, WorkItemCollector workItemCollector,
     WorkItemStore workItemStore, VersionControlServer versionControlServer, IVisualStudioAdapter visualStudioAdapter)
 {
     this.workItemSelectionService = workItemSelectionService;
     this.workItemCollector = workItemCollector;
     this.workItemStore = workItemStore;
     this.versionControlServer = versionControlServer;
     this.visualStudioAdapter = visualStudioAdapter;
 }
 public ShowChangesetItemsModel(WorkItemSelectionService workItemSelectionService, WorkItemCollector workItemCollector,
                                WorkItemStore workItemStore, VersionControlServer versionControlServer, IVisualStudioAdapter visualStudioAdapter)
 {
     this.workItemSelectionService = workItemSelectionService;
     this.workItemCollector        = workItemCollector;
     this.workItemStore            = workItemStore;
     this.versionControlServer     = versionControlServer;
     this.visualStudioAdapter      = visualStudioAdapter;
 }
        public WorkItemContextMenuViewModel(GeneralOptions options, WorkItemSelectionService workItemSelectionService,
                                            IVisualStudioAdapter visualStudioAdapter)
        {
            this.options = options;
            this.workItemSelectionService = workItemSelectionService;
            this.visualStudioAdapter = visualStudioAdapter;

            commandHandlerMappings = new Dictionary<int, Action>
            {
                {MenuCommands.ShowAffectedChangesetFiles, ShowAffectedChangesetFiles},
                {MenuCommands.ShowChangesetsWithAffectedFiles, ShowChangesetsWithAffectedFiles},
                {MenuCommands.ShowReviewWindow, ShowReviewWindow}
            };

            commandFeatureMappings = new Dictionary<int, Feature>
            {
                {MenuCommands.ShowAffectedChangesetFiles, Feature.ShowAffectedChangesetFiles},
                {MenuCommands.ShowChangesetsWithAffectedFiles, Feature.ShowChangesetsWithAffectedFiles},
                {MenuCommands.ShowReviewWindow, Feature.Review}
            };
        }