Enums Enums
Enums Enums
DocFX + Singulink = ♥

Search Results for

    Method HasAllFlags

    HasAllFlags<T>(T, T)

    Determines whether the value has all the given flags.

    Declaration
    public static bool HasAllFlags<T>(this T value, T flags) where T : unmanaged, Enum
    Parameters
    Type Name Description
    T value
    T flags
    Returns
    Type Description
    bool
    Type Parameters
    Name Description
    T

    HasAllFlags<T>(T, T, T)

    Determines whether the value has all the given flags.

    Declaration
    public static bool HasAllFlags<T>(this T value, T flags1, T flags2) where T : unmanaged, Enum
    Parameters
    Type Name Description
    T value
    T flags1
    T flags2
    Returns
    Type Description
    bool
    Type Parameters
    Name Description
    T

    HasAllFlags<T>(T, T, T, T)

    Determines whether the value has all the given flags.

    Declaration
    public static bool HasAllFlags<T>(this T value, T flags1, T flags2, T flags3) where T : unmanaged, Enum
    Parameters
    Type Name Description
    T value
    T flags1
    T flags2
    T flags3
    Returns
    Type Description
    bool
    Type Parameters
    Name Description
    T

    HasAllFlags<T>(T, params T[])

    Determines whether the value has all the given flags.

    Declaration
    public static bool HasAllFlags<T>(this T value, params T[] flags) where T : unmanaged, Enum
    Parameters
    Type Name Description
    T value
    T[] flags
    Returns
    Type Description
    bool
    Type Parameters
    Name Description
    T

    HasAllFlags<T>(T, ReadOnlySpan<T>)

    Determines whether the value has all the given flags.

    Declaration
    public static bool HasAllFlags<T>(this T value, ReadOnlySpan<T> flags) where T : unmanaged, Enum
    Parameters
    Type Name Description
    T value
    ReadOnlySpan<T> flags
    Returns
    Type Description
    bool
    Type Parameters
    Name Description
    T

    HasAllFlags<T>(T, IEnumerable<T>)

    Determines whether the value has all the given flags.

    Declaration
    public static bool HasAllFlags<T>(this T value, IEnumerable<T> flags) where T : unmanaged, Enum
    Parameters
    Type Name Description
    T value
    IEnumerable<T> flags
    Returns
    Type Description
    bool
    Type Parameters
    Name Description
    T
    © Singulink. All rights reserved.