Reflection-free convention-based dependency registration.
AutoRegister is a Fody plugin that scans your assembly at build time and generates code to register your injectable dependencies.
You can register all descendants of BaseClass like so:
[AutoRegister(Find.DescendantsOf, typeof(BaseClass), RegisterAs.SearchedType, WithLifetime.Scoped)]
public partial class MyModule
{
}
