IOptionalMemberCallbacks

An alternative to the ShouldSerialize Get/Set pattern. Instead of one method/property per member, call a single method and pass the FieldNumber as an argument (to identify the member).