PostSharp 6.8 / / 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: 6.8.6.0 (6.8.6.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