예제 #1
0
        protected override void SetAspectConfiguration(AspectConfiguration aspectConfiguration, System.Reflection.MethodBase targetMethod)
        {
            LogAspectConfiguration configuration = (LogAspectConfiguration)aspectConfiguration;

            configuration.OnEntryOptions     = this.onEntryOptions;
            configuration.OnSuccessOptions   = this.onSuccessOptions;
            configuration.OnExceptionOptions = this.onExceptionOptions;
        }
예제 #2
0
        protected override void SetAspectConfiguration(AspectConfiguration aspectConfiguration)
        {
            base.SetAspectConfiguration(aspectConfiguration);

            LogAspectConfiguration configuration = (LogAspectConfiguration)aspectConfiguration;

            configuration.OnEntryOptions     = this.onEntryOptions;
            configuration.OnSuccessOptions   = this.onSuccessOptions;
            configuration.OnExceptionOptions = this.onExceptionOptions;
        }
예제 #3
0
        protected override void SetAspectConfiguration(AspectConfiguration aspectConfiguration, MethodBase targetMethod)
        {
            LogAspectConfiguration configuration = (LogAspectConfiguration)aspectConfiguration;

            configuration.OnEntryOptions     = this.onEntryOptions;
            configuration.OnSuccessOptions   = this.onSuccessOptions;
            configuration.OnExceptionOptions = this.onExceptionOptions;
            configuration.OnEntryLevel       = this.onEntryLevel;
            configuration.OnSuccessLevel     = this.onSuccessLevel;
            configuration.OnExceptionLevel   = this.onExceptionLevel;
        }