protected ExecuteStatement ( ExecutionContext context ) : void | ||
context | ExecutionContext | |
Résultat | void |
protected override void ExecuteStatement(ExecutionContext context)
{
if (WhenExpression != null) {
var eval = WhenExpression.EvaluateToConstant(context.Request, null);
if (!eval.AsBoolean())
return;
}
context.Control(ControlType, Label);
}