Documentation Coverage Report
Current view: top level - Cqrs/Bus - IEventHandlerRegistrar.cs Hit Total Coverage
Version: 2.2 Artefacts: 1 1 100.0 %
Date: 2018-08-07 15:04:50

          Line data    Source code
       1             : #region Copyright
       2             : // // -----------------------------------------------------------------------
       3             : // // <copyright company="Chinchilla Software Limited">
       4             : // //   Copyright Chinchilla Software Limited. All rights reserved.
       5             : // // </copyright>
       6             : // // -----------------------------------------------------------------------
       7             : #endregion
       8             : 
       9             : using System;
      10             : using System.ServiceModel;
      11             : using Cqrs.Messages;
      12             : 
      13             : namespace Cqrs.Bus
      14             : {
      15             :         /// <summary>
      16             :         /// Registers event handlers that listen and respond to events.
      17             :         /// </summary>
      18             :         [ServiceContract(Namespace = "https://getcqrs.net/Bus/EventHandlerRegistrar")]
      19             :         public interface IEventHandlerRegistrar : IHandlerRegistrar
      20             :         {
      21             :                 /// <summary>
      22             :                 /// Register an event handler that will listen and respond to all events.
      23             :                 /// </summary>
      24             :                 [OperationContract]
      25           1 :                 void RegisterGlobalEventHandler<TMessage>(Action<TMessage> handler, bool holdMessageLock = true)
      26             :                         where TMessage : IMessage;
      27             :         }
      28             : }

Generated by: LCOV version 1.12