Table of Contents

Method Parse

Namespace
DocWright.Reporting.Expressions
Assembly
DocWright.Reporting.dll

Parse(string)

Parses a property value with the default limits.

public static ReportExpression Parse(string text)

Parameters

text string

The value as it appears in the definition.

Returns

ReportExpression

The parsed value.

Exceptions

ArgumentNullException

text is null.

ReportExpressionException

The expression is not valid, or uses something refused.

ResourceLimitExceededException

The expression nests too deeply.

Parse(string, ResourceLimits?)

Parses a property value.

public static ReportExpression Parse(string text, ResourceLimits? limits)

Parameters

text string

The value as it appears in the definition.

limits ResourceLimits

The limits parsing is bounded by, or null for the defaults. The one that applies is MaxReportExpressionDepth.

Returns

ReportExpression

The parsed value.

Exceptions

ArgumentNullException

text is null.

ReportExpressionException

The expression is not valid, or uses something refused.

ResourceLimitExceededException

The expression nests too deeply.