public TableExporter <T> TextFormatFor(IEnumerable <string> propertyNames, string format) { foreach (var propName in propertyNames) { TextFormats.AddOrUpdate(propName, format); } return(this); }
public TableExporter <T> TextFormatFor <TProperty>(Expression <Func <T, TProperty> > property, string format) { foreach (var propName in PropertyNames.For(property)) { TextFormats.AddOrUpdate(propName, format); } return(this); }