Skip to content

Instantly share code, notes, and snippets.

@dcomartin
Last active December 3, 2019 02:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dcomartin/74322e41242c7cb2e313e79bbc21ecf5 to your computer and use it in GitHub Desktop.
Save dcomartin/74322e41242c7cb2e313e79bbc21ecf5 to your computer and use it in GitHub Desktop.
public interface IMessage<out T>
{
string MessageType { get; }
int MessageVersion { get; }
Guid MessageId { get; }
DateTime CreatedDateTime { get; }
string Owner { get; set; }
Guid CorrelationId { get; }
Guid ResourceVersion { get; }
string Sender { get; }
T Body { get; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment