public static AnnotatedListPart Create(string listUrl, string webUrl, IEnumerable <PropertyInfo> contextProperties) { var listMapping = new AnnotatedListPart(listUrl, webUrl); contextProperties.Each(listMapping.RegisterContentType); return(listMapping); }
private static AnnotatedListPart CreateListPart(IGrouping <Tuple <string, string>, PropertyInfo> listProperties) => AnnotatedListPart.Create(listProperties.Key.Item1, listProperties.Key.Item2, listProperties);