tests/Kingdom.OrTools.Sat.Parameters.Tests/Extensions/TypeExtensionMethods.cs
/// <summary>
/// Returns the Values associated with the <paramref name="enumType"/>.
/// </summary>
/// <param name="enumType"></param>
/// <returns></returns>
Returns the Values associated with the .
Returns the Values associated with the .
private static IEnumerable<object> PrivateGetEnumValues(this Type enumType)
        {
            foreach (var x in GetValues(enumType.AssertNotNull().AssertTrue(x => x.IsEnum)).AssertNotNull())
            {
                yield return x.AssertNotNull();
            }
        }
private static IEnumerable < object > PrivateGetEnumValues ( this Type enumType ) { foreach ( var x in GetValues ( enumType . AssertNotNull ( ) . AssertTrue ( x => x . IsEnum ) ) . AssertNotNull ( ) ) { yield return x . AssertNotNull ( ) ; } }
Returns the Values associated with the .
Returns the Values associated with the .
None
Type
this
enumType
None