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