feat: add 2 new routing interfaces to allow for getting feedback for routing

This commit is contained in:
Andrew Welker
2024-05-08 08:37:25 -05:00
parent 577e111f26
commit 3823943cd9
2 changed files with 41 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
using System.Collections.Generic;
using System;
namespace PepperDash.Essentials.Core
{
/// <summary>
/// Defines an IRouting with a feedback event
/// </summary>
public interface IRoutingWithFeedback : IRouting
{
List<RouteSwitchDescriptor> CurrentRoutes { get; }
event EventHandler RoutingChanged;
}
}