private static Dictionary <int, int> Determine_IndexValue(TotalWeighting totalWeighting) { var indexValues = new Dictionary <int, int>(); var storyIndices = totalWeighting.StoryIndizes.ToList(); for (var i = 0; i < storyIndices.Count(); i++) { indexValues.Add(storyIndices[i], i + 1); } return(indexValues); }
internal static IEnumerable <string> Stories_for_weighting(TotalWeighting weighting, string[] stories) => weighting.StoryIndizes.Select(si => stories[si]);
private static Dictionary <int, int> Init_Scorecard(TotalWeighting totalWeighting) { return(totalWeighting.StoryIndizes.ToDictionary(k => k, v => 0)); }