Example #1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="logger">Reference to logger instance</param>
 /// <param name="loggingInterceptor"><see cref="ILoggingInterceptor"/> instance</param>
 /// <param name="validationInterceptor"><see cref="IValidationInterceptor"/> instance</param>
 /// <param name="workflowInterceptor"><see cref="IWorkflowInterceptor"/> instance</param>
 public AppBlocksServiceInterceptor(
     ILogger <AppBlocksServiceInterceptor> logger,
     ILoggingInterceptor loggingInterceptor,
     IValidationInterceptor validationInterceptor,
     IWorkflowInterceptor workflowInterceptor)
 {
     this.logger                = logger;
     this.loggingInterceptor    = loggingInterceptor;
     this.validationInterceptor = validationInterceptor;
     this.workflowInterceptor   = workflowInterceptor;
 }
Example #2
0
 public static void Intercept(ILoggingInterceptor interceptor)
 {
     Logger.rootInterceptor = interceptor;
 }
Example #3
0
		public static void Intercept(ILoggingInterceptor interceptor)
		{
			Logger.rootInterceptor = interceptor;
		}