Enums Enums
Enums Enums
DocFX + Singulink = ♥

Search Results for

    Method ThrowIfFlagsAreNotDefined

    ThrowIfFlagsAreNotDefined<TEnum>(TEnum, string)

    Throws an ArgumentOutOfRangeException if the value's flags are not all defined or they are not a valid combination (i.e. the value cannot actually be represented by combining defined flags).

    Declaration
    public static void ThrowIfFlagsAreNotDefined<TEnum>(this TEnum value, string paramName) where TEnum : unmanaged, Enum
    Parameters
    Type Name Description
    TEnum value

    The value to check.

    string paramName

    The name of the parameter for the exception.

    Type Parameters
    Name Description
    TEnum
    © Singulink. All rights reserved.