| Subject: Creating Workflow Rules with CodeDom |
| Group: microsoft.public.windows.developer.winfx.general |
| Date: 7/22/2008 4:47:36 AM |
| From: nagarajanmm@gmail.com |
I am quite stuck with building the CodeBinaryOperatorExpression for the complex rules with CodeDom. Eg: this.Severity == 1 && (this.Priority == "Low" || this.Severity == 0) && (this.Active == true) I need to write a logic for setting the Left and Right CodeExpression properties of the CodeBinaryOperatorExpression. The Left CodeExpression Property can go into more levels of Left and Right Code Expression grouping. Is there any simple way of converting the String text as above to CodeBinaryOperatorExpression? Thanks in advance, Nags |
| Back |