예제 #1
0
        public TableExporter <T> TextFormatFor(IEnumerable <string> propertyNames, string format)
        {
            foreach (var propName in propertyNames)
            {
                TextFormats.AddOrUpdate(propName, format);
            }

            return(this);
        }
예제 #2
0
        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);
        }