ReSharper
 
Get ReSharper
You are viewing the documentation for an earlier version of ReSharper.

Template parameters

Last modified: 21 July 2022

The body of a code template may contain:

  • Plain text that represents source code constructs and comments. It is inserted as is when you apply the template.

  • Template parameters that are replaced dynamically when you apply the template. A template parameter has the following format:

    $PARAM_NAME$ - where PARAM_NAME is an arbitrary identifier.

    When the format is correct, Templates Explorer window highlights predefined parameters in dark blue and other parameters in dark red:

    ReSharper: Template parameters