public static List <Extent> ToExtentList(this StringPairList source) { return(source .Select((pair => new Extent { Authority = pair.Item1, Value = pair.Item2 })) .ToList()); }
public static List <MetadataKeyword> ToKeywordList(this StringPairList source) { return(source .Select((pair => new MetadataKeyword { Vocab = pair.Item1, Value = pair.Item2 })) .ToList()); }