Eto.Test.Sections.CategoryFilter.MatchesIncludeCategory C# (CSharp) Méthode

MatchesIncludeCategory() private méthode

private MatchesIncludeCategory ( ITest test ) : bool
test ITest
Résultat bool
		bool MatchesIncludeCategory(ITest test)
		{
			if (IncludeCategories.Count == 0)
				return true;

			var categoryList = test.Properties["Category"];
			if (categoryList == null || categoryList.Count == 0)
				return false;
			
			return categoryList.OfType<string>().Any(IncludeCategories.Contains);
		}