register<TClass> method
- @Deprecated("registerImplicit is faster as it does not need you to specify the type of class you're registering. This is read from the callback function 'initializer' you provide")
dynamic
register<
TClass>( - dynamic initializer()
)
Implementation
@Deprecated("registerImplicit is faster as it does not need you to specify the type of class you're registering. This is read from the callback function 'initializer' you provide")
register<TClass>(dynamic Function() initializer) {
_registry[TClass] = initializer;
}