private void AddInterceptorRegistrars(
            AbpBootstrapperInterceptorOptions options)
        {
            if (!options.DisableValidationInterceptor)
            {
                ValidationInterceptorRegistrar.Initialize(IocManager);
            }

            if (!options.DisableAuditingInterceptor)
            {
                AuditingInterceptorRegistrar.Initialize(IocManager);
            }

            if (!options.DisableEntityHistoryInterceptor)
            {
                EntityHistoryInterceptorRegistrar.Initialize(IocManager);
            }

            if (!options.DisableUnitOfWorkInterceptor)
            {
                UnitOfWorkRegistrar.Initialize(IocManager);
            }

            if (!options.DisableAuthorizationInterceptor)
            {
                AuthorizationInterceptorRegistrar.Initialize(IocManager);
            }
        }
示例#2
0
 private void AddInterceptorRegistrars()
 {
     ValidationInterceptorRegistrar.Initialize(IocManager);
     AuditingInterceptorRegistrar.Initialize(IocManager);
     EntityHistoryInterceptorRegistrar.Initialize(IocManager);
     UnitOfWorkRegistrar.Initialize(IocManager);
     AuthorizationInterceptorRegistrar.Initialize(IocManager);
 }
 private void AddInterceptorRegistrars()
 {
     AuditingInterceptorRegistrar.Initialize(IocManager);
     EntityHistoryInterceptorRegistrar.Initialize(IocManager);
     //UnitOfWorkRegistrar.Initialize(IocManager);
 }