예제 #1
0
        public static CellLocator ForColumn(ICollection <DataPropertyDescriptor> columnHeaders,
                                            ICollection <DataPropertyDescriptor> otherPropertyDescriptors)
        {
            var docNodeValues = ListDocNodeTypes().Select(type => RowItemValues.ForColumn(type, columnHeaders, otherPropertyDescriptors))
                                .Where(v => !v.IsEmpty).ToList();
            var replicateValue = RowItemValues.ForColumn(typeof(IReplicateValue), columnHeaders, otherPropertyDescriptors);

            return(new CellLocator(docNodeValues, replicateValue));
        }