mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-13 20:47:04 +00:00
feat: restructure IHasDestinationList and IHasSourceList interfaces for clarity
This commit is contained in:
parent
7cc1d3fa6a
commit
4810c2d590
2 changed files with 20 additions and 17 deletions
|
|
@ -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; }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -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; }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue