CPonty / templ-dot-net

A C# report generation engine combining strongly-typed models and annotated .docx templates.
GNU General Public License v2.0
15 stars 6 forks source link

Configurable behavior on bad model reference #31

Closed CPonty closed 8 years ago

CPonty commented 8 years ago

Users of the library should be able to configure what happens when a placeholder contains an invalid reference to a path in the model.

Options (enum):

Consider making a TemplConfiguration object they can pass in at runtime.

Whatever the user selects will have to be available to the Module handlers at runtime.