Resolve the QueryResultEnricherBase registered under key via the MJGlobal
ClassFactory, or null when nothing is registered (so MJCore / RunQuery no-op
cleanly when the providing package isn't loaded).
We check MJGlobal.ClassFactory.GetRegistration for an actual registration
BEFORE constructing — CreateInstance would otherwise fall back to instantiating
the abstract base, which is not what we want here. Mirrors the defensive resolution
style of resolveMLInferenceProcessor in Predictive Studio's scoring layer.
Resolve the QueryResultEnricherBase registered under
keyvia the MJGlobal ClassFactory, ornullwhen nothing is registered (so MJCore / RunQuery no-op cleanly when the providing package isn't loaded).We check MJGlobal.ClassFactory.GetRegistration for an actual registration BEFORE constructing —
CreateInstancewould otherwise fall back to instantiating the abstract base, which is not what we want here. Mirrors the defensive resolution style ofresolveMLInferenceProcessorin Predictive Studio's scoring layer.