コード例 #1
0
        public bool MatchesUrlAndRepositoryPath(string tfsUrl, string tfsRepositoryPath)
        {
            if (!MatchesTfsUrl(tfsUrl))
            {
                return(false);
            }

            if (TfsRepositoryPath == null)
            {
                return(tfsRepositoryPath == null);
            }

            return(TfsRepositoryPath.Equals(tfsRepositoryPath, StringComparison.OrdinalIgnoreCase));
        }
コード例 #2
0
 public bool MatchesUrlAndRepositoryPath(string tfsUrl, string tfsRepositoryPath)
 {
     return(MatchesTfsUrl(tfsUrl) && TfsRepositoryPath.Equals(tfsRepositoryPath, StringComparison.OrdinalIgnoreCase));
 }