[]
        
(Showing Draft Content)

GrapeCity.Enterprise.Data.Expressions.ExpressionExtensions

ExpressionExtensions Class

Provides additional methods to work with ExpressionInfo instances.

Inheritance
ExpressionExtensions
Namespace: GrapeCity.Enterprise.Data.Expressions
Assembly: MESCIUS.ActiveReports.Core.Data.ExpressionInfo.dll
Syntax
public static class ExpressionExtensions

Methods

Name Description
FindReference(ExpressionInfo, string)

Searches for the specified reference type (Identifier or MethodName).

HasRefsToId(ExpressionInfo, string)

Checks if a given expression is Identifier with a given name or complex expression that contains Identifier with a given name.

IsFunc(ExpressionInfo, params string[])

Checks if given expression is function from a given list.

IsId(ExpressionInfo, string)

Checks if a given expression is Identifier with a given name.

IsNullOrEmpty(ExpressionInfo)

Сhecks whether the given expression is empty.

IsValid(ExpressionInfo)

Returns a value that indicates whether the given expression is valid.

Not(ExpressionInfo)

Returns the inverse of this expression.

Replace(ExpressionInfo, Func<ExpressionInfo, ExpressionInfo>)

Re-creates new expression tree with renamed identifier.

ReplaceIdentifier(ExpressionInfo, Func<string, string>)

Replaces all occurrences of the identifier in current expression, using provided function.