Exemplo n.º 1
0
throw new ArgumentOutOfRangeException(
          AParamName,
          AParam,
          $@"Value must be within {ARange}."
Exemplo n.º 2
0
throw new ArgumentOutOfRangeException(
          AParamName,
          AParam,
          @"Value must be positive."
          );
Exemplo n.º 3
0
throw new ArgumentOutOfRangeException(
          AParamName,
          AParam,
          $@"Value must be at least {AMinimum}."