public void OnDispatcherNameChange(object sender, NameChangeEventArgs args) { Console.WriteLine($"Dispatcher's name changed to {args.Name}."); }
public void OnNameChange(object sender, NameChangeEventArgs args) { this.NameChange?.Invoke(this, args); }