OnCondition.GetExpression Method

Definition

Get the cached expression for this condition.

public virtual AdaptiveExpressions.Expression GetExpression ();
abstract member GetExpression : unit -> AdaptiveExpressions.Expression
override this.GetExpression : unit -> AdaptiveExpressions.Expression
Public Overridable Function GetExpression () As Expression

Returns

Cached Expression used to evaluate this rule.

Remarks

This method calls protected method to create the expression which is cached. Child classes should override CreateExpression to add constraints. This method should not have been virtual but is left virtual to maintain backward compatibility. If you override this method you should return a cached Expression because this method is called frequenetly.

Applies to