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

@@ -95,9 +95,8 @@ namespace PepperDash.Essentials.Core
/// Releases the usage tracking for the route and optionally clears the route on the switching devices.
/// </summary>
/// <param name="clearRoute">If true, attempts to clear the route on the switching devices (e.g., set input to null/0).</param>
/// <summary>
/// ReleaseRoutes method
/// </summary>
public void ReleaseRoutes(bool clearRoute = false)
{
foreach (var route in Routes.Where(r => r.SwitchingDevice is IRouting))
@@ -138,9 +137,9 @@ namespace PepperDash.Essentials.Core
/// Returns a string representation of the route descriptor, including source, destination, and individual route steps.
/// </summary>
/// <returns>A string describing the route.</returns>
/// <summary>
/// ToString method
/// </summary>
public override string ToString()
{
var routesText = Routes.Select(r => r.ToString()).ToArray();