Skip to content

v4.8.0

Compare
Choose a tag to compare
@tillig tillig released this 19 Apr 15:12
· 1061 commits to develop since this release

Reverted behavior from #897 change to re-include internal and nested private classes for backwards compatibility. Added a new PublicOnly() filter method to enable opt-in to data encapsulation when scanning for assembly types.

builder.RegisterAssemblyTypes(asm)
       .PublicOnly()
       .Where(t => t.Name.EndsWith("Repository"))
       .Except<MyUnwantedRepository>();