public TaskBoardCardsModel(GeneralOptions options, WorkItemSelectionService workItemSelectionService, IVisualStudioAdapter visualStudioAdapter) { this.options = options; this.workItemSelectionService = workItemSelectionService; 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 } }; }