private void OnNameChange(NameChangeEventArgs e) { if (NameChange != null) { NameChange(this, e); } }
public void OnDispatcherNameChange(object sender, NameChangeEventArgs args) { Console.WriteLine($"Dispatcher's name changed to {args.Name}."); }