twilio-labs / twilio-aspnet

Integrate Twilio Programmable Messaging and Voice with ASP.NET Respond to webhooks with TwiML in seconds
Apache License 2.0
58 stars 30 forks source link

Expose formatting option for TwiML extension methods #89

Closed Swimburger closed 1 year ago

Swimburger commented 2 years ago

TwiML.ToString accepts an optional parameter SaveOptions formattingOptions = SaveOptions.None. I think we should expose the same or a similar option to the TwiML extension methods in this library.

I'm leaning towards using our own enum so user's don't have to import the System.Xml.Linq namespace.

Swimburger commented 1 year ago

Fixed #95