private static string CreateSearchPropertiesString(A11yElement e) { if (e == null) { return(null); } var properties = from p in CommonStringProperties let value = e.GetPropertyOrDefault <string>(p) select value; if (properties == null) { return(null); } return(string.Join(" ", properties)); }