Documentation Coverage Report
Current view: top level - Cqrs/Commands - ICommandSender.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             : using System.Collections.Generic;
      11             : 
      12             : namespace Cqrs.Commands
      13             : {
      14             :         /// <summary>
      15             :         /// Sends an <see cref="ICommand{TAuthenticationToken}"/>
      16             :         /// </summary>
      17             :         /// <typeparam name="TAuthenticationToken">The <see cref="Type"/> of the authentication token.</typeparam>
      18             :         [Obsolete("Replaced by ICommandPublisher<TAuthenticationToken>")]
      19             :         public interface ICommandSender<TAuthenticationToken> : ICommandPublisher<TAuthenticationToken>
      20             :         {
      21             :                 /// <summary>
      22             :                 /// Publishes the provided <paramref name="command"/> on the command bus.
      23             :                 /// </summary>
      24             :                 [Obsolete("Replaced by ICommandPublisher<TAuthenticationToken>.Publish(TCommand)")]
      25           1 :                 void Send<TCommand>(TCommand command)
      26             :                         where TCommand : ICommand<TAuthenticationToken>;
      27             : 
      28             :                 /// <summary>
      29             :                 /// Publishes the provided <paramref name="commands"/> on the command bus.
      30             :                 /// </summary>
      31             :                 [Obsolete("Replaced by ICommandPublisher<TAuthenticationToken>.Publish(IEnumerable<TCommand>)")]
      32           1 :                 void Send<TCommand>(IEnumerable<TCommand> commands)
      33             :                         where TCommand : ICommand<TAuthenticationToken>;
      34             :         }
      35             : }

Generated by: LCOV version 1.12