src/Kingdom.OrTools.ConstraintSolver.Core/Enumerations/IntVarStrategy.cs
/// <summary>
/// Returns the <see cref="Int32"/> value corresponding to the <paramref name="value"/>.
/// </summary>
/// <param name="value"></param>
/// <returns></returns>
Returns the  value corresponding to the .
Returns the value corresponding to the .
public static int ToInt(this IntVarStrategy value)
        {
            try
            {
                return LazyIntVarStrategyValues.Value[value];
            }
            catch (Exception ex)
            {
                throw new ArgumentException($"{value} not currently supported by Google Operational Research Tools.", nameof(value), ex);
            }
        }
public static int ToInt ( this IntVarStrategy value ) { try { return LazyIntVarStrategyValues . Value [ value ] ; } catch ( Exception ex ) { throw new ArgumentException ( $" { value }  not currently supported by Google Operational Research Tools. " , nameof ( value ) , ex ) ; } }
Returns the  value corresponding to the .
Returns the value corresponding to the .
None
IntVarStrategy
this
value
None