connamara / quickfixn

QuickFIX/n implements the FIX protocol on .NET.
http://quickfixn.org
Other
470 stars 558 forks source link

change Message.ToString() to not change object state anymore #886

Closed gbirchmeier closed 2 weeks ago

gbirchmeier commented 2 weeks ago

resolves #863

Change Message.ToString() to not alter object state anymore (which breaks the inheritance guidelines of ToString().

Moved the old functionality of computing/adding/updating BodyLength & CheckSum to the new function Message.ConstructString().

(I really thought this was going to be more trouble than it actually was!)