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 | The expression builder. |
Returns
| Type | Description |
|---|---|
| dynamic | A dynamic value representing the expression, or |
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 | The expression builder that produces a non-null value. |
Returns
| Type | Description |
|---|---|
| dynamic | A dynamic value representing the expression. |