KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Is there an enum in System or System.Core that has all the ComparisonOperators? I just wrote the following enum, but it seems like a common enough thing that one might already exist. public enum ComparisonPredicate { Equal, Unequal, LessThan, LessThanOrEqualTo, GreaterThan, GreaterThanOrEqualTo } I found one in System.Web.UI, but it would be more than silly to introduce a dependency for that http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.validationcompareoperator(v=VS.100).aspx Also, I already looked at ExpressionType , but I don't want something with that broad of a scope
Tags (comma-separated)
Save Edits
Cancel