Exemplo n.º 1
0
 private static void HandleTypesWithUnitOfWorkAttribute(IIocManager iocManager, Type serviceType, TypeInfo implementationType)
 {
     if (IsUnitOfWorkType(implementationType) || AnyMethodHasUnitOfWork(implementationType))
     {
         iocManager.AddInterceptor(serviceType, typeof(UnitOfWorkInterceptor));
     }
 }