Пример #1
0
        public override AopInterceptorOption AopInterceptorOption()
        {
            var aopInterceptorOption = new AopInterceptorOption();

            aopInterceptorOption.AddAopIntercetor <IncInterceptor>();
            aopInterceptorOption.AddAopIntercetor <MulInterceptor>();

            return(aopInterceptorOption);
        }
        public override AopInterceptorOption AopInterceptorOption()
        {
            var option = new AopInterceptorOption();

            option.AddAopIntercetor <IncInterceptor>();

            return(option);
        }
Пример #3
0
        public virtual AopInterceptorOption AopInterceptorOption()
        {
            var option = new AopInterceptorOption();

            option.AddAopIntercetor <HangfireProxyInterceptor>();

            return(option);
        }
Пример #4
0
        public virtual AopInterceptorOption AopInterceptorOption()
        {
            var option = new AopInterceptorOption();

            option
            .AddAopIntercetor <CacheInterceptor>()
            .AddAopIntercetor <InvalidateCacheInterceptor>();

            return(option);
        }
Пример #5
0
        public override AopInterceptorOption AopInterceptorOption()
        {
            var option = new AopInterceptorOption();

            option
            .AddAopIntercetor <RequireDbContextInterceptor>()
            .AddAopIntercetor <RepositoryInterceptor>();

            return(option);
        }