Line data Source code
1 : using System;
2 : using System.Collections.Generic;
3 : using Cqrs.Events;
4 : using Cqrs.Messages;
5 :
6 : namespace Cqrs.Akka.Tests.Unit.Events
7 : {
8 : public class HelloWorldRepliedTo : IEvent<Guid>
9 0 : {
10 : #region Implementation of IMessage
11 :
12 : public Guid CorrolationId { get; set; }
13 : public Guid CorrelationId { get { return CorrolationId; } set { CorrolationId = value; } }
14 : public FrameworkType Framework { get; set; }
15 :
16 : /// <summary>
17 : /// The originating framework this message was sent from.
18 : /// </summary>
19 : public string OriginatingFramework { get; set; }
20 :
21 : /// <summary>
22 : /// The frameworks this <see cref="IMessage"/> has been delivered to/sent via already.
23 : /// </summary>
24 : public IEnumerable<string> Frameworks { get; set; }
25 :
26 : #endregion
27 :
28 : #region Implementation of IMessageWithAuthenticationToken<Guid>
29 :
30 : public Guid AuthenticationToken { get; set; }
31 :
32 : #endregion
33 :
34 : #region Implementation of IEvent<Guid>
35 :
36 : public Guid Id { get; set; }
37 : public int Version { get; set; }
38 : public DateTimeOffset TimeStamp { get; set; }
39 :
40 : #endregion
41 : }
42 : }
|