The next release of nspectre is imminent. This release will have 2 new features. The first feaure, courtesy of Al, allows grouping of specifications. This is achieved by a new optional attribute (“key”) on the specification. The ValidationErrors collection has a new method allowing you to get all errors for a given key. An example use of this new feature is to populate controls in the UI informing the user of why the data entered is not valid.
The second feature is a console app (NSpectre.Console) that allows you to test a given NSpectre configuration file. Debug level output can be sent to an output log to see all the details of processing the configuration file. Hopefully, this will save a few valuable development seconds.
I’ll post a little more detail on these features when the release is available. If you have a feature request for NSpectre, let us know here.