docs: apply suggestions from copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Andrew Welker
2025-07-23 09:08:10 -05:00
committed by GitHub
parent 80da4ad98f
commit b12cdbc75c
6 changed files with 14 additions and 15 deletions

View File

@@ -64,8 +64,11 @@ namespace PepperDash.Essentials.Core
}
/// <summary>
/// RemoveRouteDescriptor method
/// Removes a RouteDescriptor from the collection based on the specified destination and input port key.
/// </summary>
/// <param name="destination">The destination for which the route descriptor is to be removed.</param>
/// <param name="inputPortKey">The key of the input port associated with the route descriptor. If empty, the method will attempt to remove a descriptor based solely on the destination.</param>
/// <returns>The removed RouteDescriptor object if a matching descriptor was found; otherwise, null.</returns>
public RouteDescriptor RemoveRouteDescriptor(IRoutingInputs destination, string inputPortKey = "")
{
Debug.LogMessage(LogEventLevel.Information, "Removing route descriptor for '{destination}':'{inputPortKey}'", destination.Key ?? null, string.IsNullOrEmpty(inputPortKey) ? "auto" : inputPortKey);