/// <summary> /// Gets the XML serializable properties. /// </summary> /// <returns>List of XML serializable properties.</returns> public static List <PropertyInfo> GetXMLSerializableProperties(this Type t) { return(t.GetProperties().Where(PI => PI.IsXMLSerializeable()).ToList()); }