Metalama 1.0 / / Metalama Documentation / Aspect API / Metalama.​Framework.​Code.​Syntax­Builders / Expression­Factory / Parse

Method Parse

Parse(String)

Parses a string containing a C# expression and returns an IExpression. The Value property allows to use this expression in a template. An alternative to this method is the ExpressionBuilder class.

Declaration
public static IExpression Parse(string code)
Parameters
Type Name Description
String code
Returns
Type Description
IExpression
See Also