Skip to content

Instantly share code, notes, and snippets.

@NMZivkovic
Created September 28, 2017 10:46
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 NMZivkovic/dee383ba4b58dc60f64e5826d976ea1f to your computer and use it in GitHub Desktop.
Save NMZivkovic/dee383ba4b58dc60f64e5826d976ea1f to your computer and use it in GitHub Desktop.
public class StartedReadingMessage : Message
{
public StartedReadingMessage(string user, string article)
: base(user, article) {}
}
class StopedReadingMessage : Message
{
public StopedReadingMessage(string user, string article)
: base (user, article) {}
}
public class ReportMessage : Message
{
public long Milliseconds { get; private set; }
public ReportMessage(string user, string article, long milliseconds)
: base (user, article)
{
Milliseconds = milliseconds;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment