Пример #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);
        }