17 lines
318 B
C#
17 lines
318 B
C#
using System;
|
|
|
|
namespace Vote.Messaging.Messages
|
|
{
|
|
public abstract class Message
|
|
{
|
|
public string CorrelationId { get; set; }
|
|
|
|
public abstract string Subject { get; }
|
|
|
|
public Message()
|
|
{
|
|
CorrelationId = Guid.NewGuid().ToString();
|
|
}
|
|
}
|
|
}
|