Initializes a new instance of the PdfEngine class from the options pattern: the constructor dependency injection uses, which AddBroadside(IServiceCollection) registers.
public PdfEngine(IOptions<PdfOptions> options, ILoggerFactory? loggerFactory = null)
The options. Their is read once, here, and copied, so the engine behaves exactly like one built with PdfEngine(PdfOptions) from the same values.
Where diagnostics are logged, unless the options name their own logger factory through
WithLoggerFactory(ILoggerFactory?); null logs nothing.
Spec #33, user stories 43 and 45: one engine for the fluent and the hosted paths.