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