mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-08-31 19:08:29 +00:00
docs: apply suggestions from copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
80da4ad98f
commit
b12cdbc75c
6 changed files with 14 additions and 15 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue