internal static T FindParentOfType <T>(this Element element) { var navPage = element .GetParentsPath() .OfType <T>() .FirstOrDefault(); return(navPage); }
internal static T FindParentOfType <T>(this Element element) { var navPage = element .GetParentsPath() .OfType <T>() .FirstOrDefault(); return(navPage); }