LCOV - code coverage report
Current view: top level - Cqrs/Commands - ICommandReceiver.cs Hit Total Coverage
Test: doc-coverage.info Lines: 2 2 100.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             : namespace Cqrs.Commands
      10             : {
      11             :         /// <summary>
      12             :         /// Receives instances of a <see cref="ICommand{TAuthenticationToken}"/> from the command bus.
      13             :         /// </summary>
      14             :         public interface ICommandReceiver
      15             :         {
      16             :                 /// <summary>
      17             :                 /// Starts listening and processing instances of <see cref="ICommand{TAuthenticationToken}"/> from the command bus.
      18             :                 /// </summary>
      19           2 :                 void Start();
      20             :         }
      21             : 
      22             :         /// <summary>
      23             :         /// Receives instances of a <see cref="ICommand{TAuthenticationToken}"/> from the command bus
      24             :         /// </summary>
      25             :         public interface ICommandReceiver<TAuthenticationToken> : ICommandReceiver
      26             :         {
      27             :                 /// <summary>
      28             :                 /// Receives a <see cref="ICommand{TAuthenticationToken}"/> from the command bus.
      29             :                 /// </summary>
      30           2 :                 bool? ReceiveCommand(ICommand<TAuthenticationToken> command);
      31             :         }
      32             : }

Generated by: LCOV version 1.10