FlagsExpression<T>
Class
Definition
Takes as input a collection of strings and builds an expression tree from the input. At the evaluation stage, it walks down the tree and evaluates the result.
public sealed class FlagsExpression<T> where T : struct
Type Parameters
- T
- Inheritance
-
FlagsExpression<T>
Constructors
| FlagsExpression<T>(Object[]) |
Construct the tree from an object collection when arguments are comma seperated. If valid, all elements are OR seperated. |
| FlagsExpression<T>(String) |
Construct the expression from a single string. |
Methods
| Evaluate(T) |
Evaluate a given flag enum value against the expression. |