Share via


ExpressionEvaluationDetails Class

Definition

Evaluation details of policy language expressions.

public class ExpressionEvaluationDetails
type ExpressionEvaluationDetails = class
Public Class ExpressionEvaluationDetails
Inheritance
ExpressionEvaluationDetails

Properties

Expression

Expression evaluated.

ExpressionKind

The kind of expression that was evaluated.

ExpressionValue

Value of the expression.

To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

Operator

Operator to compare the expression value and the target value.

Path

Property path if the expression is a field or an alias.

Result

Evaluation result.

TargetValue

Target value to be compared with the expression value.

To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

Applies to