ExtensibleClassMixin.registerExtension

Register a new extension, keeping extensions list sorted.

Extensions are considered unique by type, so is invalid to register 2 extensions with the exact same type.

template ExtensibleClassMixin(ExtensionClass)
void
registerExtension
(
ExtensionClass ext
)

Parameters

ext ExtensionClass

new extension to register

Meta