Metalama 1.0 / / Metalama Documentation / Aspect API / Metalama.​Framework.​Code / IExpression

Interface IExpression

A compile-time representation of a run-time expression. To create an expression, use ExpressionFactory or ExpressionBuilder.

Namespace: Metalama.Framework.Code
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public interface IExpression : IHasType

Properties

Name Description
IsAssignable

Gets a value indicating whether the Value can be set.

Value

Gets syntax for the current IExpression.

Extension Methods

ExpressionFactory.CastTo(IExpression, IType)
ExpressionFactory.CastTo(IExpression, Type)
ExpressionFactory.CastTo<T>(IExpression)