LCOV - code coverage report
Current view: top level - Azure/Cqrs.Azure.EventHub - AzureCommandBus.cs Hit Total Coverage
Test: doc-coverage.info Lines: 0 1 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 AzureCommandBus<TAuthenticationToken> : AzureEventHub<TAuthenticationToken>
      16             :         {
      17             :                 protected override string EventHubConnectionStringNameConfigurationKey
      18             :                 {
      19             :                         get { return "Cqrs.Azure.EventHub.CommandBus.ConnectionStringName"; }
      20             :                 }
      21             : 
      22             :                 protected override string EventHubStorageConnectionStringNameConfigurationKey
      23             :                 {
      24             :                         get { return "Cqrs.Azure.EventHub.CommandBus.StorageConnectionStringName"; }
      25             :                 }
      26             : 
      27             :                 protected override string PrivateEventHubNameConfigurationKey
      28             :                 {
      29             :                         get { return "Cqrs.Azure.EventHub.CommandBus.PrivateEvent.EventHubName"; }
      30             :                 }
      31             : 
      32             :                 protected override string PublicEventHubNameConfigurationKey
      33             :                 {
      34             :                         get { return "Cqrs.Azure.EventHub.CommandBus.PublicEvent.EventHubName"; }
      35             :                 }
      36             : 
      37             :                 protected override string PrivateEventHubConsumerGroupNameConfigurationKey
      38             :                 {
      39             :                         get { return "Cqrs.Azure.EventHub.CommandBus.PrivateEvent.EventHubName.ConsumerGroupName"; }
      40             :                 }
      41             : 
      42             :                 protected override string PublicEventHubConsumerGroupNameConfigurationKey
      43             :                 {
      44             :                         get { return "Cqrs.Azure.EventHub.CommandBus.PublicEvent.EventHubName.ConsumerGroupName"; }
      45             :                 }
      46             : 
      47             :                 protected override string DefaultPrivateEventHubName
      48             :                 {
      49             :                         get { return "Cqrs.EventHub.CommandBus.Private"; }
      50             :                 }
      51             : 
      52             :                 protected override string DefaultPublicEventHubName
      53             :                 {
      54             :                         get { return "Cqrs.EventHub.CommandBus"; }
      55             :                 }
      56             : 
      57             :                 protected IAzureBusHelper<TAuthenticationToken> AzureBusHelper { get; private set; }
      58             : 
      59             : 
      60           0 :                 protected AzureCommandBus(IConfigurationManager configurationManager, IMessageSerialiser<TAuthenticationToken> messageSerialiser, IAuthenticationTokenHelper<TAuthenticationToken> authenticationTokenHelper, ICorrelationIdHelper correlationIdHelper, ILogger logger, IAzureBusHelper<TAuthenticationToken> azureBusHelper, bool isAPublisher)
      61             :                         : base(configurationManager, messageSerialiser, authenticationTokenHelper, correlationIdHelper, logger, isAPublisher)
      62             :                 {
      63             :                         AzureBusHelper = azureBusHelper;
      64             :                 }
      65             :         }
      66             : }

Generated by: LCOV version 1.10