We are evaluating the Syntax editor for use in our application. What we need is an editor which only allows c# boolean expressions to be entered. The user should be able enter enter expressions like "<person>.AgeInYears > 60" I have scanned the Documentation and have an OK understanding of the concepts, but I need an helper on where to begin
The requirements for our app goes like this:
- Only allow c# boolean expressions to be entered ie. they evaluates to true/false
- Supply intellisense when Custom datatypes are entered in the Syntax Editor like "person.AgeInYears > 60" (when "person." is entered show all properties available on Person)
- Show meaningful messages when something is wrong in the c# boolean expression.
The custom data types will be supplied at runtime - since they can be created in another place in the application.
Any hints how to accomplish the above?
Thanks in advance ;-)