Skip to content

Instantly share code, notes, and snippets.

@horsdal
Created January 13, 2018 19:04
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 horsdal/07fff2e20cb1b0b3fd503fcf49259c68 to your computer and use it in GitHub Desktop.
Save horsdal/07fff2e20cb1b0b3fd503fcf49259c68 to your computer and use it in GitHub Desktop.
public class UsernameChangedEvent : Event
{
public string Username { get; }
public Guid Id { get; }
public string OldUsername { get; }
public UsernameChangedEvent(string username, Guid id, string oldUsername)
{
this.Username = username;
this.Id = id;
this.OldUsername = oldUsername;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment