Autofac v4.8.0 Release Notes

Release Date: 2018-04-19 // about 6 years ago
  • ⏪ 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\>();