Пример #1
0
 public static void SetLastHandled(object sender, EventArgsEx args, DateTimeOffset?value = null)
 {
     if (args != null && false == args.IgnoresSender(sender))
     {
         args.LastHandled = value ?? DateTimeOffset.UtcNow;
     }
 }
Пример #2
0
 public static void SetContinue(object sender, EventArgsEx args, bool value = true)
 {
     if (args != null && false == args.IgnoresSender(sender))
     {
         args.Continue = value;
     }
 }