mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-13 20:47:04 +00:00
fix: makes IMatrixRouting use generic types.
This commit is contained in:
parent
595fb3894e
commit
d26c5344e4
2 changed files with 3 additions and 6 deletions
|
|
@ -2,10 +2,10 @@
|
|||
|
||||
namespace PepperDash.Essentials.Core.Routing
|
||||
{
|
||||
public interface IMatrixRouting
|
||||
public interface IMatrixRouting<TInput, TOutput> where TInput : IRoutingInputSlot where TOutput : IRoutingOutputSlot
|
||||
{
|
||||
Dictionary<string, RoutingInputSlotBase> InputSlots { get; }
|
||||
Dictionary<string, RoutingOutputSlotBase> OutputSlots { get; }
|
||||
Dictionary<string, TInput> InputSlots { get; }
|
||||
Dictionary<string, TOutput> OutputSlots { get; }
|
||||
|
||||
void Route(string inputSlotKey, string outputSlotKey, eRoutingSignalType type);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue