LCOV - code coverage report
Current view: top level - Azure/Cqrs.Azure.EventHub - AzureEventHubBus.cs Hit Total Coverage
Test: doc-coverage.info Lines: 0 2 0.0 %
Date: 2017-07-26

          Line data    Source code
       1             : #region Copyright
       2             : // // -----------------------------------------------------------------------
       3             : // // <copyright company="cdmdotnet Limited">
       4             : // //   Copyright cdmdotnet Limited. All rights reserved.
       5             : // // </copyright>
       6             : // // -----------------------------------------------------------------------
       7             : #endregion
       8             : 
       9             : using Cqrs.Authentication;
      10             : using Cqrs.Configuration;
      11             : using cdmdotnet.Logging;
      12             : 
      13             : namespace Cqrs.Azure.ServiceBus
      14             : {
      15             :         public abstract class AzureEventHubBus<TAuthenticationToken> : AzureEventHub<TAuthenticationToken>
      16           0 :         {
      17             :                 protected override string EventHubConnectionStringNameConfigurationKey
      18             :                 {
      19             :                         get { return "Cqrs.Azure.EventHub.EventBus.ConnectionStringName"; }
      20             :                 }
      21             : 
      22             :                 protected override string EventHubStorageConnectionStringNameConfigurationKey
      23             :                 {
      24             :                         get { return "Cqrs.Azure.EventHub.EventBus.StorageConnectionStringName"; }
      25             :                 }
      26             : 
      27             :                 protected override string PrivateEventHubNameConfigurationKey
      28             :                 {
      29             :                         get { return "Cqrs.Azure.EventHub.EventBus.PrivateEvent.EventHubName"; }
      30             :                 }
      31             : 
      32             :                 protected override string PublicEventHubNameConfigurationKey
      33             :                 {
      34             :                         get { return "Cqrs.Azure.EventHub.EventBus.PublicEvent.EventHubName"; }
      35             :                 }
      36             : 
      37             :                 protected override string PrivateEventHubConsumerGroupNameConfigurationKey
      38             :                 {
      39             :                         get { return "Cqrs.Azure.EventHub.EventBus.PrivateEvent.EventHubName.ConsumerGroupName"; }
      40             :                 }
      41             : 
      42             :                 protected override string PublicEventHubConsumerGroupNameConfigurationKey
      43             :                 {
      44             :                         get { return "Cqrs.Azure.EventHub.EventBus.PublicEvent.EventHubName.ConsumerGroupName"; }
      45             :                 }
      46             : 
      47             :                 protected override string DefaultPrivateEventHubName
      48             :                 {
      49             :                         get { return "Cqrs.EventHub.EventBus.Private"; }
      50             :                 }
      51             : 
      52             :                 protected override string DefaultPublicEventHubName
      53             :                 {
      54             :                         get { return "Cqrs.EventHub.EventBus"; }
      55             :                 }
      56             : 
      57             :                 protected IAzureBusHelper<TAuthenticationToken> AzureBusHelper { get; private set; }
      58             : 
      59           0 :                 protected AzureEventHubBus(IConfigurationManager configurationManager, IMessageSerialiser<TAuthenticationToken> messageSerialiser, IAuthenticationTokenHelper<TAuthenticationToken> authenticationTokenHelper, ICorrelationIdHelper correlationIdHelper, ILogger logger, IAzureBusHelper<TAuthenticationToken> azureBusHelper, bool isAPublisher)
      60             :                         : base(configurationManager, messageSerialiser, authenticationTokenHelper, correlationIdHelper, logger, isAPublisher)
      61             :                 {
      62             :                         AzureBusHelper = azureBusHelper;
      63             :                 }
      64             :         }
      65             : }

Generated by: LCOV version 1.10