public TfsWorkspaceQueryService(ITfsCommandFactory commandFactory, ITfsCommandOutputParser tfsCommandOutputParser)
        {
            if (commandFactory == null)
            {
                throw new ArgumentNullException("commandFactory");
            }

            if (tfsCommandOutputParser == null)
            {
                throw new ArgumentNullException("tfsCommandOutputParser");
            }

            this.commandFactory = commandFactory;
            this.tfsCommandOutputParser = tfsCommandOutputParser;
        }
 public CodeRepositoryUpdateService(ITfsCommandFactory commandFactory, ITfsWorkspaceQueryService workspaceQueryService)
 {
     this.commandFactory = commandFactory;
     this.workspaceQueryService = workspaceQueryService;
 }