R
Raphael Iloh
== POSTED THIS ISSUE SOME TIME AGO BUT GOT NO RESPONSE, IDEAS STILL NEEDED
==
Hi all, I was wondering if anyone has found a way to represent the following
expressions 'AS IS' using the CodeDom:
1. if(!collection.Contains(value)) - negate an expression
2. i++ or i-- - increment or decrement operator expression
3. foreach(int i in integ) - foreach statement
I can re-write these example to look like these:
1. if(collection.Contains(value) == false)
2. i = (i+1) or i = (i-1)
3. use a for loop instead
but I'd rather have the statements 'AS IS'. I don't want to use
CodeSnippetExpression as it wouldn't be cross-language. Any helpful ideas
will be very welcomed.
Regards, Raphael
MCAD (C#)
==
Hi all, I was wondering if anyone has found a way to represent the following
expressions 'AS IS' using the CodeDom:
1. if(!collection.Contains(value)) - negate an expression
2. i++ or i-- - increment or decrement operator expression
3. foreach(int i in integ) - foreach statement
I can re-write these example to look like these:
1. if(collection.Contains(value) == false)
2. i = (i+1) or i = (i-1)
3. use a for loop instead
but I'd rather have the statements 'AS IS'. I don't want to use
CodeSnippetExpression as it wouldn't be cross-language. Any helpful ideas
will be very welcomed.
Regards, Raphael
MCAD (C#)