My old signature was
protected override bool SendFiles(ITransactionStep configuration, FileInfo xml)
Thus I was working with doing this
using (var blobStream = GetBlobStream(arg.Configuration, arg.WorkspaceContext, arg.TempFile.Length, out var blob))
using (var tempData = xml.OpenRead())
However now I am switching from FileInfo to XElement
protected override bool SendFiles(ITransactionStep configuration, XElement xml)
Goal is to stream in the XElement and Write to fileshare
Thus I cannot use this
xml.OpenRead()) // Can't do that
Should I be doing an Steam .. . with xmlstreamwriter or streamwriter or streamreader? How can I stream this XElement into memory to write to a fileshare ?