Click or drag to resize

ConditionParserParseExpression Method (String)

Parses the specified condition string and turns it into ConditionExpression tree.

Namespace:  NLog.Conditions
Assembly:  NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntax
public static ConditionExpression ParseExpression(
	string expressionText
)

Parameters

expressionText
Type: SystemString
The expression to be parsed.

Return Value

Type: ConditionExpression
The root of the expression syntax tree which can be used to get the value of the condition in a specified context.
See Also