是否有任何 .net 控件(希望是 WPF)来输入基于应用程序规则引擎(或语言定义)的查询?诸如带有智能感知或 Jira 高级过滤器的 SQL 之类的东西?
换句话说,我希望允许用户在文本区域中输入这样的内容
(type='apple' and color='green' and quantity>10) or (type='tomato' and color<>'red')
并且应用程序会建议下一个有效令牌,例如智能感知。
是否有任何 .net 控件(希望是 WPF)来输入基于应用程序规则引擎(或语言定义)的查询?诸如带有智能感知或 Jira 高级过滤器的 SQL 之类的东西?
换句话说,我希望允许用户在文本区域中输入这样的内容
(type='apple' and color='green' and quantity>10) or (type='tomato' and color<>'red')
并且应用程序会建议下一个有效令牌,例如智能感知。
我自己没有使用过,但LINQPad使用Actipro SyntaxEditor,至少值得一看。
您可以查看使用 Workflow Foundation 的(独立)规则引擎:http: //footheory.com/blogs/bennie/archive/2007/05/10/alternative-applications-for-the-wf-rule-engine.aspx