LCOV - code coverage report
Current view: top level - Cqrs/Domain - DtoAggregateRoot.cs Hit Total Coverage
Test: doc-coverage.info Lines: 0 2 0.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             : using System;
      10             : using Cqrs.Events;
      11             : 
      12             : namespace Cqrs.Domain
      13             : {
      14             :         public class DtoAggregateRoot<TAuthenticationToken, TDto> : AggregateRoot<TAuthenticationToken>
      15             :                 where TDto : IDto
      16           0 :         {
      17           0 :                 public DtoAggregateRoot(Guid id, TDto original, TDto @new)
      18             :                 {
      19             :                         Id = id;
      20             :                         ApplyChange(new DtoAggregateEvent<TAuthenticationToken, TDto>(id, original, @new));
      21             :                 }
      22             :         }
      23             : }

Generated by: LCOV version 1.10