Documentation Coverage Report
Current view: top level - Cqrs/Snapshots - Snapshot.cs Hit Total Coverage
Version: 2.2 Artefacts: 1 1 100.0 %
Date: 2017-09-22

          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.Runtime.Serialization;
      11             : using Cqrs.Domain;
      12             : 
      13             : namespace Cqrs.Snapshots
      14             : {
      15             :         /// <summary>
      16             :         /// Holds state information about an <see cref="IAggregateRoot{TAuthenticationToken}"/> for fast rehydration.
      17             :         /// </summary>
      18             :         [Serializable]
      19             :         public abstract class Snapshot
      20           1 :         {
      21             :                 /// <summary>
      22             :                 /// The identifier of the <see cref="IAggregateRoot{TAuthenticationToken}"/> this holds information about.
      23             :                 /// </summary>
      24             :                 [DataMember]
      25             :                 public virtual Guid Id { get; set; }
      26             : 
      27             :                 /// <summary>
      28             :                 /// The version number the <see cref="IAggregateRoot{TAuthenticationToken}"/> was at when this snapshot was taken.
      29             :                 /// </summary>
      30             :                 [DataMember]
      31             :                 public virtual int Version { get; set; }
      32             :         }
      33             : }

Generated by: LCOV version 1.10