add properties to SourceListItem

add XML Comments
This commit is contained in:
Andrew Welker
2021-02-25 17:00:57 -07:00
parent 0649cea367
commit 0dcbb652df
2 changed files with 19 additions and 0 deletions

View File

@@ -40,6 +40,11 @@ namespace PepperDash.Essentials.Core.Config
return SourceLists[key];
}
/// <summary>
/// Retrieves a DestinationListItem based on the key
/// </summary>
/// <param name="key">key of the item to retrieve</param>
/// <returns>DestinationListItem if the key exists, null otherwise</returns>
public Dictionary<string, DestinationListItem> GetDestinationListForKey(string key)
{
if (string.IsNullOrEmpty(key) || !DestinationLists.ContainsKey(key))