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

MatchesExcludeCategory() private méthode

private MatchesExcludeCategory ( ITest test ) : bool
test ITest
Résultat bool
		bool MatchesExcludeCategory(ITest test)
		{
			if (ExcludeCategories.Count == 0)
				return false;

			var categoryList = test.Properties["Category"];
			if (categoryList == null || categoryList.Count == 0)
				return false;

			return categoryList.OfType<string>().Any(ExcludeCategories.Contains);
		}
		public virtual bool Pass(ITest test)