public static void Raise(this EventHandler?handler, object sender)
 {
     handler?.Invoke(sender, EventArgs.Empty);
 }