/// <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; }
/// <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); }