Ejemplo n.º 1
0
        public static AnnotatedListPart Create(string listUrl, string webUrl, IEnumerable <PropertyInfo> contextProperties)
        {
            var listMapping = new AnnotatedListPart(listUrl, webUrl);

            contextProperties.Each(listMapping.RegisterContentType);

            return(listMapping);
        }
Ejemplo n.º 2
0
 private static AnnotatedListPart CreateListPart(IGrouping <Tuple <string, string>, PropertyInfo> listProperties) =>
 AnnotatedListPart.Create(listProperties.Key.Item1, listProperties.Key.Item2, listProperties);