Udostępnij za pośrednictwem


FlagsExpression<T>.Evaluate(T) Method

Definition

Evaluate a given flag enum value against the expression.

public:
 bool Evaluate(T value);
public bool Evaluate (T value);
member this.Evaluate : 'T -> bool
Public Function Evaluate (value As T) As Boolean

Parameters

value
T

The flag enum value to be evaluated.

Returns

Whether the enum value satisfy the expression.

Applies to