public CompareToBranchCommand(IMenuCommandService menuCommandService, ILogger _logger, ITFSVersionControl _tfs)
 {
     branches = new List<string>();
     logger = _logger;
     tfsVersionControl = _tfs;
     CommandID compareToBranchId = new CommandID(GuidList.guidTFSProductivityPackCmdSet, PkgCmdIDList.cmdIdDynamicCompareToBranchCommand);
     compareToBranchOleCommand = new OleDynamicCommand(compareToBranchId, IsValidDynamicItem, Exec, QueryStatus);
     menuCommandService.AddCommand(compareToBranchOleCommand);
 }
        public CompareToBranchCommand(IMenuCommandService menuCommandService, ILogger _logger, ITFSVersionControl _tfs)
        {
            branches          = new List <string>();
            logger            = _logger;
            tfsVersionControl = _tfs;
            CommandID compareToBranchId = new CommandID(GuidList.guidTFSProductivityPackCmdSet, PkgCmdIDList.cmdIdDynamicCompareToBranchCommand);

            compareToBranchOleCommand = new OleDynamicCommand(compareToBranchId, IsValidDynamicItem, Exec, QueryStatus);
            menuCommandService.AddCommand(compareToBranchOleCommand);
        }
 public ToggleShowDeletedItemsCommand(IMenuCommandService menuCommandService, ILogger _logger, ITFSVersionControl _tfs)
     : base(GuidList.guidTFSProductivityPackCmdSet, PkgCmdIDList.cmdIdSCEShowDeleted, menuCommandService, _logger)
 {
     tfsVersionControl = _tfs;
     SetShowDeletedItemsCommandText();
 }
 public BranchBuildDefinitionCommand(IMenuCommandService menuCommandService, ILogger _logger, ITFSBuildService _tfsBuildService, ITFSVersionControl _tfsVersionControl)
     : base(GuidList.guidTFSProductivityPackCmdSet, PkgCmdIDList.cmdIdBranchBuildDefinition, menuCommandService, _logger)
 {
     tfsVersionControl = _tfsVersionControl;
     tfsBuildService = _tfsBuildService;
 }
Esempio n. 5
0
 public BranchBuildDefinitionCommand(IMenuCommandService menuCommandService, ILogger _logger, ITFSBuildService _tfsBuildService, ITFSVersionControl _tfsVersionControl)
     : base(GuidList.guidTFSProductivityPackCmdSet, PkgCmdIDList.cmdIdBranchBuildDefinition, menuCommandService, _logger)
 {
     tfsVersionControl = _tfsVersionControl;
     tfsBuildService   = _tfsBuildService;
 }
 public ToggleShowDeletedItemsCommand(IMenuCommandService menuCommandService, ILogger _logger, ITFSVersionControl _tfs)
     : base(GuidList.guidTFSProductivityPackCmdSet, PkgCmdIDList.cmdIdSCEShowDeleted, menuCommandService, _logger)
 {
     tfsVersionControl = _tfs;
     SetShowDeletedItemsCommandText();
 }
 public FindInSCEFromSolExpCommand(IMenuCommandService menuCommandService, ILogger _logger, DTE2 _dte, ITFSVersionControl _tfs)
     : base(GuidList.guidTFSProductivityPackCmdSet, PkgCmdIDList.cmdIdFindInSCEFromSolExp, menuCommandService, _logger, _dte, _tfs)
 {
     solutionExplorer = new SolutionExplorer(_dte);
 }
 public TFSQuickCompareCommand(IMenuCommandService menuCommandService, ILogger _logger, ITFSVersionControl _tfs)
     : base(GuidList.guidTFSProductivityPackCmdSet, PkgCmdIDList.cmdIdSCECompare, menuCommandService, _logger)
 {
     tfsVersionControl = _tfs;
 }
 public FindInSCECommand(Guid guidId, int id, IMenuCommandService menuCommandService, ILogger _logger, DTE2 _dte, ITFSVersionControl _tfs)
     : base(guidId, id, menuCommandService, _logger)
 {
     dte = _dte;
     tfsVersionControl = _tfs;
 }
 public FindInSCEFromCodeWindowCommand(IMenuCommandService menuCommandService, ILogger _logger, DTE2 _dte, ITFSVersionControl _tfs)
     : base(GuidList.guidTFSProductivityPackCmdSet, PkgCmdIDList.cmdIdFindInSCEFromCodeWindow, menuCommandService, _logger, _dte, _tfs)
 {
 }
 public FindInSCEFromCodeWindowCommand(IMenuCommandService menuCommandService, ILogger _logger, DTE2 _dte, ITFSVersionControl _tfs)
     : base(GuidList.guidTFSProductivityPackCmdSet, PkgCmdIDList.cmdIdFindInSCEFromCodeWindow, menuCommandService, _logger, _dte, _tfs)
 {
 }
 public FindInSolExpFromSCECommand(IMenuCommandService menuCommandService, ILogger _logger, DTE2 _dte, ITFSVersionControl _tfs)
     : base(GuidList.guidTFSProductivityPackCmdSet, PkgCmdIDList.cmdIdFindInSolExpFromSCE, menuCommandService, _logger, _dte)
 {
     tfsVersionControl = _tfs;
 }
Esempio n. 13
0
 public FindInSolExpFromSCECommand(IMenuCommandService menuCommandService, ILogger _logger, DTE2 _dte, ITFSVersionControl _tfs)
     : base(GuidList.guidTFSProductivityPackCmdSet, PkgCmdIDList.cmdIdFindInSolExpFromSCE, menuCommandService, _logger, _dte)
 {
     tfsVersionControl = _tfs;
 }
 public TFSQuickCompareCommand(IMenuCommandService menuCommandService, ILogger _logger, ITFSVersionControl _tfs)
     : base(GuidList.guidTFSProductivityPackCmdSet, PkgCmdIDList.cmdIdSCECompare, menuCommandService, _logger)
 {
     tfsVersionControl = _tfs;
 }
 public FindInSCEFromSolExpCommand(IMenuCommandService menuCommandService, ILogger _logger, DTE2 _dte, ITFSVersionControl _tfs)
     : base(GuidList.guidTFSProductivityPackCmdSet, PkgCmdIDList.cmdIdFindInSCEFromSolExp, menuCommandService, _logger, _dte, _tfs)
 {
     solutionExplorer = new SolutionExplorer(_dte);
 }
 public FindInSCECommand(Guid guidId, int id, IMenuCommandService menuCommandService, ILogger _logger, DTE2 _dte, ITFSVersionControl _tfs)
     : base(guidId, id, menuCommandService, _logger)
 {
     dte = _dte;
     tfsVersionControl = _tfs;
 }