Documentation Coverage Report
Current view: top level - Cqrs/Commands - ICommandValidator.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             : namespace Cqrs.Commands
      10             : {
      11             :         /// <summary>
      12             :         /// Validates an <see cref="ICommand{TAuthenticationToken}"/> on its own merits.
      13             :         /// </summary>
      14             :         public interface ICommandValidator<TAuthenticationToken, in TCommand>
      15             :                 where TCommand : ICommand<TAuthenticationToken>
      16             :         {
      17             :                 /// <summary>
      18             :                 /// Validates the provided <param name="command" /> on its own merits.
      19             :                 /// </summary>
      20           1 :                 bool IsCommandValid(TCommand command);
      21             :         }
      22             : }

Generated by: LCOV version 1.12