public DocumentColumnsExtractor(IList <ColumnDefinition> columns) { valueExtractors = columns.Select(c => { var extractor = new BoundValueExtractor(); extractor.SetBinding(BoundValueExtractor.ValueProperty, ColumnModelBindingExtensions.CreateBinding(c, "Document.")); return(extractor); }) .ToList(); }
public DocumentColumnsExtractor(IList<ColumnDefinition> columns) { valueExtractors = columns.Select(c => { var extractor = new BoundValueExtractor(); extractor.SetBinding(BoundValueExtractor.ValueProperty, ColumnModelBindingExtensions.CreateBinding(c, "Document.")); return extractor; }) .ToList(); }