connamara/quickfixn — Issue #51: MessageCracker.Crack has no generic code path...
Author: NetTecture
Created: 2012-03-09 21:30:54+00:00
State: open

...if one does not want to implement ALL OnMessage methods.

I suggest tocreate an alternative TryCrack method that returns true (if an OnMessage method was found) or false (if not).

The Crack method should use OnCrack and still throw exception on false.

This allows those who want partial strong handling to work properly. It is in sync with .NET collection and other handling (TryGet, TryParse etc.).