Пример #1
0
 private void OnEntryAction(JaevnerEventArgs args)
 {
     if (EntryAction != null)
     {
         EntryAction(this, args);
     }
 }
Пример #2
0
        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);
        }