示例#1
0
 public void OnDispatcherNameChange(object sender, NameChangeEventArgs args)
 {
     Console.WriteLine($"Dispatcher’s name changed to {args.Name}");
 }
示例#2
0
 private void OnNameChange(NameChangeEventArgs args)
 {
     NameChange?.Invoke(this, args);
 }