16 using System.Runtime.CompilerServices;
23 public static partial class Messages
30 public static string OptimizationParameterNotSpecified =
"Optimization parameter name is not specified.";
32 public static string OptimizationParameterNotSupported =
"Optimization parameter is not currently supported.";
40 public static string StepLessThanMinStep = $
"step should be great or equal than minStep";
42 [MethodImpl(MethodImplOptions.AggressiveInlining)]
43 public static string InvalidStepRange(decimal min, decimal max)
45 return $
"Minimum value ({min}) should be less or equal than maximum ({max})";
48 [MethodImpl(MethodImplOptions.AggressiveInlining)]
49 public static string NonPositiveStepValue(
string stepVarName, decimal value)
51 return $
"{stepVarName} should be positive value; but was {value}";