OnCondition.GetExpression Method
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.
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.