示例#1
0
 /// <inheritdoc />
 public Task InstanceRenamed(string newName, CancellationToken cancellationToken)
 {
     if (String.IsNullOrWhiteSpace(newName))
     {
         throw new ArgumentNullException(nameof(newName));
     }
     metadata.Name = newName;
     return(Watchdog.InstanceRenamed(newName, cancellationToken));
 }