Metalama 1.0 / / Metalama Documentation / Aspect API Documentation / Metalama.​Framework.​Code.​Syntax­Builders / Expression­Builder­Extensions / To­Value

Method ToValue

ToValue(IExpressionBuilder)

Gets an object that can be used in a run-time expression of a template to represent the result of the current expression builder.

Declaration
public static dynamic ToValue(this IExpressionBuilder builder)
Parameters
Type Name Description
IExpressionBuilder builder
Returns
Type Description
Object

ToValue(INotNullExpressionBuilder)

Gets an object that can be used in a run-time expression of a template to represent the result of the current expression builder.

Declaration
public static dynamic ToValue(this INotNullExpressionBuilder builder)
Parameters
Type Name Description
INotNullExpressionBuilder builder
Returns
Type Description
Object