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: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
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