Skip to content

Instantly share code, notes, and snippets.

@dcomartin
Created February 5, 2018 22:31
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/15db20e48d774f638f48930cc1bf4af3 to your computer and use it in GitHub Desktop.
Save dcomartin/15db20e48d774f638f48930cc1bf4af3 to your computer and use it in GitHub Desktop.
public abstract class BankAccountEvent
{
public decimal Amount { get; set; }
}
public class Deposited : BankAccountEvent { }
public class Withdrawn : BankAccountEvent { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment