Esempio n. 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;
 }
 public void RegisterValidationInterceptor(IValidationInterceptor interceptor)
 {
     validationInterceptor = interceptor;
 }
 public void RegisterValidationInterceptor(IValidationInterceptor interceptor) {
     validationInterceptor = interceptor;
 }