Documentation Coverage Report
Current view: top level - Cqrs/Services - IUnitOfWorkService.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 Cqrs.Domain;
      10             : 
      11             : namespace Cqrs.Services
      12             : {
      13             :         /// <summary>
      14             :         /// Provides a basic container to control how the <see cref="IUnitOfWork{TAuthenticationToken}"/> is accessed.
      15             :         /// </summary>
      16             :         public interface IUnitOfWorkService
      17             :         {
      18             :                 /// <summary>
      19             :                 /// Informs the service of the object that will be committing the UnitOfWork.
      20             :                 /// </summary>
      21             :                 /// <returns>
      22             :                 /// true if the provided <paramref name="commiter"/> is accepted as the committer, false otherwise.
      23             :                 /// </returns>
      24           1 :                 bool SetCommitter(object commiter);
      25             : 
      26             :                 /// <summary>
      27             :                 /// Commits the UnitOfWork if the provided <paramref name="commiter"/> is the Committer.
      28             :                 /// </summary>
      29             :                 /// <returns>
      30             :                 /// true if the provided <paramref name="commiter"/> is the Committer, false otherwise.
      31             :                 /// </returns>
      32           1 :                 bool Commit(object commiter);
      33             :         }
      34             : }

Generated by: LCOV version 1.12