public static void SetLastHandled(object sender, EventArgsEx args, DateTimeOffset?value = null) { if (args != null && false == args.IgnoresSender(sender)) { args.LastHandled = value ?? DateTimeOffset.UtcNow; } }
public static void SetContinue(object sender, EventArgsEx args, bool value = true) { if (args != null && false == args.IgnoresSender(sender)) { args.Continue = value; } }