Closed
Description
MS design guidelines on the use of Nested Types suggests that they should be used sparingly and avoided in public API (amongst other recommendations).
PayloadGenerator comes to mind as well as some public enums in QRCodeGenerator. The nesting of types could be removed where unnecessary.