PostSharp 5.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Extensibility Namespace / IProject Interface / IProject Methods / IProject.​Evaluate­Expression Method

IProject.EvaluateExpression Method

Evaluates an expression (that is, replace parameters by their actual value).

Namespace:  PostSharp.Extensibility
Assembly:  PostSharp (in PostSharp.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
C#
string EvaluateExpression(
	string expression
)

Parameters

expression
Type: System.String
An expression.

Return Value

Type: String
The evaluated expression, or null if one parameter could not be resolved.
See Also