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