From 3a18f49821af5140c930fa8bc901d4100493d94e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halil=20=C4=B0brahim=20Kalkan?= Date: Wed, 30 Aug 2017 17:14:02 +0300 Subject: [PATCH] Add comments. --- src/Volo.Abp/Volo/Abp/AbpKernelModule.cs | 1 + src/Volo.Abp/Volo/Abp/Uow/UnitOfWorkInterceptorRegistrar.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/src/Volo.Abp/Volo/Abp/AbpKernelModule.cs b/src/Volo.Abp/Volo/Abp/AbpKernelModule.cs index 0d48a199ca..8b772e5597 100644 --- a/src/Volo.Abp/Volo/Abp/AbpKernelModule.cs +++ b/src/Volo.Abp/Volo/Abp/AbpKernelModule.cs @@ -17,6 +17,7 @@ namespace Volo.Abp //TODO: Move to a dedicated class services.OnExposing(context => { + //Register types for IObjectMapper if implements context.ExposedTypes.AddRange( ReflectionHelper.GetImplementedGenericTypes( context.ImplementationType, diff --git a/src/Volo.Abp/Volo/Abp/Uow/UnitOfWorkInterceptorRegistrar.cs b/src/Volo.Abp/Volo/Abp/Uow/UnitOfWorkInterceptorRegistrar.cs index ac39886b79..08f29812ce 100644 --- a/src/Volo.Abp/Volo/Abp/Uow/UnitOfWorkInterceptorRegistrar.cs +++ b/src/Volo.Abp/Volo/Abp/Uow/UnitOfWorkInterceptorRegistrar.cs @@ -9,6 +9,7 @@ namespace Volo.Abp.Uow { if (UnitOfWorkHelper.IsUnitOfWorkType(context.ImplementationType.GetTypeInfo())) { + //TODO: Notice that it may add the interceptor more than one for every exposed service type!? context.Interceptors.Add(); } }