private bool CanDecorateFrom(string tagName) { var tagNames = new string[] { tagName }; return(tagFilterMatcher.MatchPrefix(TagsRepository.RETRY_TAG, tagNames) || tagFilterMatcher.MatchPrefix(TagsRepository.RETRY_EXCEPT_TAG, tagNames)); }
private bool CanDecorateFrom(string tagName) { var tagNames = new[] { tagName }; return(_tagFilterMatcher.MatchPrefix(TagsRepository.RetryTag, tagNames) || _tagFilterMatcher.MatchPrefix(TagsRepository.RetryExceptTag, tagNames)); }
public static bool MatchPrefix(this ITagFilterMatcher tagFilterMatcher, string tagFilter, Feature feature) { if (feature.Tags == null) { return(false); } return(tagFilterMatcher.MatchPrefix(tagFilter, feature.Tags.Select(t => t.Name))); }
public static bool MatchPrefix(this ITagFilterMatcher tagFilterMatcher, string tagFilter, SpecFlowDocument document) { return(tagFilterMatcher.MatchPrefix(tagFilter, document.SpecFlowFeature.Tags.Select(t => t.GetNameWithoutAt()))); }
public bool CanGenerate(Feature feature) { return(tagFilterMatcher.MatchPrefix(registeredName, feature)); }
public bool CanGenerate(SpecFlowDocument document) { return(tagFilterMatcher.MatchPrefix(registeredName, document)); }