Beispiel #1
0
 public void OnShowVotes(object source, PostHandlerArgs args)
 {
     System.Console.WriteLine("The post '{0}' has {1} votes.", args.Title, args.Votes);
 }
Beispiel #2
0
 public void OnDownVoteCommand(object source, PostHandlerArgs args)
 {
     System.Console.WriteLine("The post '{0}' has been downvoted.", args.Title);
 }