[]
Replaces all occurrences of the identifier in current expression, using provided function.
public static ExpressionInfo ReplaceIdentifier(this ExpressionInfo originalExpression, Func<string, string> replacer)
Type | Name | Description |
---|---|---|
ExpressionInfo | originalExpression | Original expression. |
Func<string, string> | replacer | Replacing function. |
Type | Description |
---|---|
ExpressionInfo | New ExpressionInfo instance with replaced identifier or exact instance if no changes were made. |