Method Convert<T>(XElement, string)
Converts an attribute through the same converter the endpoint options use (invariant
culture; enums by name). A malformed value records an error and returns null.
public T? Convert<T>(XElement element, string name) where T : struct