Example #1
0
        public static CellLocator ForRow(ICollection <DataPropertyDescriptor> rowHeaders)
        {
            var docNodeValues = ListDocNodeTypes().Select(type => RowItemValues.FromItemProperties(type, rowHeaders))
                                .Where(v => !v.IsEmpty).ToList();
            var replicateValue = RowItemValues.FromItemProperties(typeof(IReplicateValue), rowHeaders);

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