Releases: tdwright/contabs
Computed columns
Tables from anonymous objects
This release features a simpler method for creating tables, which now allows for tables of anonymous types. Also in this release are XML comments for IntelliSense hints and a new exception when a table has no visible columns.
Fixed wrapping behaviour
Output builder is now capable of handling multi-line strings, which fixes the broken word-wrap functionality.
Long string behaviour, search whole inheritance chain, developer goodness
Long string handling
By adding a LongStringBehaviour
property to columns, this change allows users to specify how long strings should be handled.
Users can choose from:
- Doing nothing (default behaviour)
- Truncating, with or without ellipsis (customisable; defaults to "...")
- Wrapping
When truncating or wrapping, the width can also be specified.
Minor changes
- Improved test coverage of
PublicPropertiesNotFoundException
(addressing http://bit.ly/2E4GQCg) - Some debugging sugar in the form of
DebuggerDisplay
attributes - Now searches base classes for public properties available through inheritance
Format strings and lots of refactoring
This release has one new piece of functionality: format strings. If the underlying type has a ToString()
method that accepts a string, the column's FormatString
property will be applied. This allows things like dates and numbers to have formatting applied at the column level.
Additionally, the codebase has been extensively refactored. There is one breaking change, as the Corners
property of the Style
class is no longer an array of chars. Several methods (including one of Style
's constructors) have been deprecated, but may still be used at this time.
First release - basic functionality works
Merge pull request #10 from tdwright/develop Added support for styling