FlagsExpression<T> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
generic <typename T>
where T : value classpublic ref class FlagsExpression sealed
public sealed class FlagsExpression<T> where T : struct
type FlagsExpression<'T (requires 'T : struct)> = class
Public NotInheritable Class FlagsExpression(Of T)
Type Parameters
- T
- Inheritance
-
FlagsExpression<T>
Constructors
FlagsExpression<T>(Object[]) |
Construct the tree from an object collection when arguments are comma separated. If valid, all elements are OR separated. |
FlagsExpression<T>(String) |
Construct the expression from a single string. |
Methods
Evaluate(T) |
Evaluate a given flag enum value against the expression. |