feat: restructure IHasDestinationList and IHasSourceList interfaces for clarity

This commit is contained in:
Neil Dorin 2026-03-12 15:29:26 -06:00
parent 7cc1d3fa6a
commit 4810c2d590
2 changed files with 20 additions and 17 deletions

View file

@ -1,14 +1,16 @@
using System.Collections.Generic; using System.Collections.Generic;
using PepperDash.Essentials.Core;
namespace PepperDash.Essentials.Core
/// <summary>
/// Interface for rooms with a list of destinations
/// </summary>
public interface IHasDestinationList
{ {
/// <summary> /// <summary>
/// Gets the dictionary of destinations. /// Interface for rooms with a list of destinations
/// </summary> /// </summary>
Dictionary<string, IRoutingSink> Destinations { get; } public interface IHasDestinationList
{
/// <summary>
/// Gets the dictionary of destinations.
/// </summary>
Dictionary<string, IRoutingSink> Destinations { get; }
}
} }

View file

@ -1,14 +1,15 @@
using System.Collections.Generic; using System.Collections.Generic;
using PepperDash.Essentials.Core; namespace PepperDash.Essentials.Core
/// <summary>
/// Interface for rooms with a list of destinations
/// </summary>
public interface IHasSourceList
{ {
/// <summary> /// <summary>
/// Gets the list of sources. /// Interface for rooms with a list of destinations
/// </summary> /// </summary>
Dictionary<string, SourceListItem> SourceList { get; } public interface IHasSourceList
{
/// <summary>
/// Gets the list of sources.
/// </summary>
Dictionary<string, SourceListItem> SourceList { get; }
}
} }