IConventionalDependencyRegistrar.cs 656 B

123456789101112131415161718
  1. namespace Abp.Dependency
  2. {
  3. /// <summary>
  4. /// This interface is used to register dependencies by conventions.
  5. /// </summary>
  6. /// <remarks>
  7. /// Implement this interface and register to <see cref="IocManager.AddConventionalRegistrar"/> method to be able
  8. /// to register classes by your own conventions.
  9. /// </remarks>
  10. public interface IConventionalDependencyRegistrar
  11. {
  12. /// <summary>
  13. /// Registers types of given assembly by convention.
  14. /// </summary>
  15. /// <param name="context">Registration context</param>
  16. void RegisterAssembly(IConventionalRegistrationContext context);
  17. }
  18. }