// Copyright (c) Arlo Godfrey. All Rights Reserved. // Licensed under the GNU Lesser General Public License, Version 3.0 with additional terms. // See the LICENSE, LICENSE.LESSER and LICENSE.ADDITIONAL files in the project root for more information. using System.Collections.Generic; using StrixMusic.Sdk.AdapterModels; using StrixMusic.Sdk.CoreModels; namespace StrixMusic.Sdk.Extensions { internal static partial class Merged { /// /// Syntax sugar for getting and casting the sources of an . /// /// The explicit source type to get sources from. /// The to operate on. /// The sources of the given internal static IReadOnlyList GetSources(this IMerged merged) where TSource : ICoreMember => merged.Sources; } }