CallerArgumentExpressionAttribute(String) Constructor

Definition

Initializes a new instance of the CallerArgumentExpressionAttribute class.

C#
public CallerArgumentExpressionAttribute(string parameterName);

Parameters

parameterName
String

The name of the parameter whose expression should be captured as a string.

Applies to

Toode Versioonid
.NET Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10