private void OnEntryAction(JaevnerEventArgs args) { if (EntryAction != null) { EntryAction(this, args); } }
private void ServiceOnEntryAction(object sender, JaevnerEventArgs args) { string msg = string.Format("{0} entry {1} on {2}", args.Action, args.Entry.Title, args.Entry.StartDateTime.ToString("yyyy-MM-dd HH:mm")); Console.WriteLine(msg); }