Function nameof

  • Returns the name of the bound member of the lambda bindingExpression using the bindingMode.

    Parameters

    Returns string

    To refer to an instance member without an instance use memberOf or keyof

    		addField(nameof(() => memberOf(UserProjectDataResource).statPlotFramesPerSecond));