Пример #1
0
        public static bool Match(this ITagFilterMatcher tagFilterMatcher, string tagFilter, string tagName)
        {
            if (tagName == null)
            {
                return(false);
            }

            return(tagFilterMatcher.Match(tagFilter, new string[] { tagName }));
        }
Пример #2
0
 private bool CanDecorateFrom(string tagName)
 {
     return(tagFilterMatcher.Match(IGNORE_TAG, tagName));
 }
Пример #3
0
 public bool CanDecorateFrom(string tagName, TestClassGenerationContext generationContext, CodeMemberMethod testMethod)
 {
     return(_tagFilterMatcher.Match(TAG_NAME, tagName));
 }
 private bool IgnoreParallelCodeGenerationBasedOnTags(IEnumerable <string> tagName)
 {
     return(ignoreParallelCodeGenerationTags.Any(x => tagFilterMatcher.Match(x, tagName)));
 }
Пример #5
0
 private bool ConfiguredTagIsPresent(IEnumerable <string> tagName)
 {
     return(nonParallelizableTags?.Any(x => tagFilterMatcher.Match(x, tagName)) ?? false);
 }