// ReSharper restore InconsistentNaming

        /// <summary>Initializes a new instance of the <see cref="DefaultMessageService"/> class.</summary>
        /// <param name="logger">The logger.</param>
        /// <param name="messageDispatchers">The message handler.</param>
        public DefaultMessageService(
            ILogger <DefaultMessageService> logger,
            IEnumerable <IMessageDispatcher> messageDispatchers,
            ICloudAgentRegistrationService agentRegistrationService)
        {
            Logger               = logger;
            MessageDispatchers   = messageDispatchers;
            _registrationService = agentRegistrationService;
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="DefaultConnectionService"/> class.
 /// </summary>
 /// <param name="eventAggregator">The event aggregator.</param>
 /// <param name="recordService">The record service.</param>
 /// <param name="provisioningService">The provisioning service.</param>
 /// <param name="logger">The logger.</param>
 public DefaultConnectionService(
     IEventAggregator eventAggregator,
     IWalletRecordService recordService,
     ICloudAgentRegistrationService cloudAgentRegistrationService,
     IProvisioningService provisioningService,
     ILogger <DefaultConnectionService> logger)
 {
     EventAggregator     = eventAggregator;
     ProvisioningService = provisioningService;
     Logger        = logger;
     RecordService = recordService;
     CloudAgentRegistrationService = cloudAgentRegistrationService;
 }