IAsyncEnumerable of objects containing all of the necessary xml attributes/element data I want to capture, but was reading a bit about some better techniques for this type of thing and noticed some stackoverflow posts mentioning a method that's possible by using a type that's tagged with Serializable. The only issue is that I can't seem to find examples of how to do this. XElement directly into a Compound object? The code is already starting to get messy and am hoping there's something I can use to either infer the schema of the XML document, then use that to serialize... or if possible just serialize into the object directly.