Ejemplo n.º 1
0
        private static Dictionary <Guid, ModClientApiJsonV3WithGameId> GetTheDesiredMods(Game game,
                                                                                         ContentQuery filterFunc,
                                                                                         IDictionary <Guid, ModClientApiJsonV3WithGameId> onlineContent)
        {
            var desired         = onlineContent.Where(x => filterFunc.IsMatch(x.Value));
            var dependencyChain = new Dictionary <Guid, ModClientApiJsonV3WithGameId>();

            GetRelatedContent(game, desired.Select(x => x.Value), dependencyChain, onlineContent);
            return(dependencyChain);
        }