private void InitializeIteratorsStyleName() { // initialize the MapFontNames2Iterator foreach (var kvp in MapStyleIdToListOfRuns) { var iterator = new LinqDataIterator { LinqDocument = this, ListOfRuns = kvp.Value.Item2 }; MyMapIteratorList.MapStyleName2Iterator.Add(kvp.Value.Item1, iterator); } }
private void InitializeIteratorsFontsFromStyles() { // initialize the MapFontNames2Iterator foreach (var kvp in MapStyleFontNameToListOfRuns) { var iterator = new LinqDataIterator { LinqDocument = this, ListOfRuns = kvp.Value }; MyMapIteratorList.MapStyleFontName2Iterator.Add(kvp.Key, iterator); } }