EyeAuras Docs EyeAuras Docs
EyeAuras Docs EyeAuras Docs
DocFX + Singulink = ♥

Search Results for

    Method AddAny

    AddAny<T>(ISet<T>, IEnumerable<T>)

    Attempts to add multiple items to the specified set and returns whether any item was successfully added.

    Declaration
    public static bool AddAny<T>(this ISet<T> set, IEnumerable<T> items)
    Parameters
    Type Name Description
    ISet<T> set

    The set to which items will be added.

    IEnumerable<T> items

    The collection of items to add to the set.

    Returns
    Type Description
    bool

    true if at least one item was successfully added to the set; otherwise, false.

    Type Parameters
    Name Description
    T

    The type of elements contained in the set.

    Exceptions
    Type Condition
    ArgumentNullException

    Thrown if either set or items is null.

    2025 © Xab3r. All rights reserved.