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