AllowedValues

Last modified: 22 March 2025

AllowedValues UDA is used to list all values that an argument can accept. This is very useful in the cases when an argument must have a value from a specific list, for example, when argument type is enum.

Signature

Parameters

  • values

    Values that argument can have.

Usage example