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