Decorate your class with this to register it with the MJGlobal class factory
using a structured options bag. The Ex suffix follows MJ's existing
Foo / FooAsync / FooEx naming convention for "same thing, modern variant."
Prefer this over RegisterClass for new code when you have anything
beyond (baseClass, key, priority) to specify. The positional form gets
unwieldy past three args and the boolean flags read as anonymous magic.
Same registration semantics as RegisterClass under the hood — pick the
shape that reads best at the call site.
Parameters
baseClass: unknown
A reference to the base class you are registering a sub-class for
Decorate your class with this to register it with the MJGlobal class factory using a structured options bag. The
Exsuffix follows MJ's existingFoo/FooAsync/FooExnaming convention for "same thing, modern variant."Prefer this over
RegisterClassfor new code when you have anything beyond(baseClass, key, priority)to specify. The positional form gets unwieldy past three args and the boolean flags read as anonymous magic.Same registration semantics as
RegisterClassunder the hood — pick the shape that reads best at the call site.