Created
January 3, 2014 01:00
-
-
Save thefringeninja/8230550 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[DataContract] public class SomethingHappened : Event | |
{ | |
[DataMember(Order = 1)] public readonly string Sku; | |
[DataMember(Order = 2)] public readonly string UPC; | |
[DataMember(Order = 3)] public readonly string Description; | |
public SomethingHappened(string sku, string upc, string description) | |
{ | |
Sku = sku; | |
UPC = upc; | |
Description = description; | |
} | |
private SomethingHappened() {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment