LCOV - code coverage report
Current view: top level - Cqrs.EventStore - SimpleEvent.cs Hit Total Coverage
Test: doc-coverage.info Lines: 0 1 0.0 %
Date: 2017-07-26

          Line data    Source code
       1             : using System;
       2             : using System.Collections.Generic;
       3             : using System.Runtime.Serialization;
       4             : using Cqrs.Events;
       5             : using Cqrs.Messages;
       6             : 
       7             : namespace Cqrs.EventStore
       8             : {
       9             :         public class SimpleEvent<TAuthenticationToken> : IEvent<TAuthenticationToken>
      10           0 :         {
      11             :                 [DataMember]
      12             :                 public string Message { get; set; }
      13             : 
      14             :                 #region Implementation of IEvent
      15             : 
      16             :                 [DataMember]
      17             :                 public Guid Id { get; set; }
      18             : 
      19             :                 [DataMember]
      20             :                 public int Version { get; set; }
      21             : 
      22             :                 [DataMember]
      23             :                 public DateTimeOffset TimeStamp { get; set; }
      24             : 
      25             :                 #endregion
      26             : 
      27             :                 #region Implementation of IMessageWithAuthenticationToken<TAuthenticationToken>
      28             : 
      29             :                 [DataMember]
      30             :                 public TAuthenticationToken AuthenticationToken { get; set; }
      31             : 
      32             :                 #endregion
      33             : 
      34             :                 #region Implementation of IMessage
      35             : 
      36             :                 [DataMember]
      37             :                 public Guid CorrelationId { get; set; }
      38             : 
      39             :                 [DataMember]
      40             :                 [Obsolete("Use Frameworks, It's far more flexible and OriginatingFramework")]
      41             :                 public FrameworkType Framework { get; set; }
      42             : 
      43             :                 /// <summary>
      44             :                 /// The originating framework this message was sent from.
      45             :                 /// </summary>
      46             :                 [DataMember]
      47             :                 public string OriginatingFramework { get; set; }
      48             : 
      49             :                 /// <summary>
      50             :                 /// The frameworks this <see cref="IMessage"/> has been delivered to/sent via already.
      51             :                 /// </summary>
      52             :                 [DataMember]
      53             :                 public IEnumerable<string> Frameworks { get; set; }
      54             : 
      55             :                 [Obsolete("Use CorrelationId")]
      56             :                 [DataMember]
      57             :                 public Guid CorrolationId
      58             :                 {
      59             :                         get { return CorrelationId; }
      60             :                         set { CorrelationId = value; }
      61             :                 }
      62             : 
      63             :                 #endregion
      64             :         }
      65             : }

Generated by: LCOV version 1.10