Eto.Test.Sections.CategoryFilter.GetParents C# (CSharp) Method

GetParents() protected static method

protected static GetParents ( ITest test ) : IEnumerable
test ITest
return IEnumerable
		protected static IEnumerable<ITest> GetParents(ITest test)
		{
			while (test != null)
			{
				yield return test;
				test = test.Parent;
			}
		}