Documentation Coverage Report
Current view: top level - Cqrs/Commands - ICommandReceiver.cs Hit Total Coverage
Version: 2.2 Artefacts: 2 2 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             : 
      11             : namespace Cqrs.Commands
      12             : {
      13             :         /// <summary>
      14             :         /// Receives instances of a <see cref="ICommand{TAuthenticationToken}"/> from the command bus.
      15             :         /// </summary>
      16             :         public interface ICommandReceiver
      17             :         {
      18             :                 /// <summary>
      19             :                 /// Starts listening and processing instances of <see cref="ICommand{TAuthenticationToken}"/> from the command bus.
      20             :                 /// </summary>
      21           2 :                 void Start();
      22             :         }
      23             : 
      24             :         /// <summary>
      25             :         /// Receives instances of a <see cref="ICommand{TAuthenticationToken}"/> from the command bus.
      26             :         /// </summary>
      27             :         /// <typeparam name="TAuthenticationToken">The <see cref="Type"/> of authentication token.</typeparam>
      28             :         public interface ICommandReceiver<TAuthenticationToken> : ICommandReceiver
      29             :         {
      30             :                 /// <summary>
      31             :                 /// Receives a <see cref="ICommand{TAuthenticationToken}"/> from the command bus.
      32             :                 /// </summary>
      33           2 :                 bool? ReceiveCommand(ICommand<TAuthenticationToken> command);
      34             :         }
      35             : }

Generated by: LCOV version 1.12