コード例 #1
0
ファイル: ServiceConfigurator.cs プロジェクト: petxo/HermEsb
 /// <summary>
 /// Creates the monitor.
 /// </summary>
 private ServiceConfigurator CreateErrorHandlingController()
 {
     if (_HermEsbServiceConfig.ErrorHandlingController.ElementInformation.IsPresent)
     {
         var errorHandlingConfigurator = new ErrorHandlingControllerConfigurator(_HermEsbServiceConfig.ErrorHandlingController, _identification);
         _errorHandlingController = errorHandlingConfigurator.Create();
     }
     else
     {
         _errorHandlingController = ErrorHandlingControllerFactory.NullController;
     }
     return this;
 }
コード例 #2
0
 /// <summary>
 /// Creates the monitor.
 /// </summary>
 private ServiceConfigurator CreateErrorHandlingController()
 {
     if (_HermEsbServiceConfig.ErrorHandlingController.ElementInformation.IsPresent)
     {
         var errorHandlingConfigurator = new ErrorHandlingControllerConfigurator(_HermEsbServiceConfig.ErrorHandlingController, _identification);
         _errorHandlingController = errorHandlingConfigurator.Create();
     }
     else
     {
         _errorHandlingController = ErrorHandlingControllerFactory.NullController;
     }
     return(this);
 }