Couchbase .NET SDK | 3.7.2
Search Results for

    Show / Hide Table of Contents

    Class PersistentSet<TValue>

    Inheritance
    object
    PersistentStoreBase<TValue>
    PersistentSet<TValue>
    Implements
    ICollection
    IAsyncEnumerable<TValue>
    IPersistentSet<TValue>
    ISet<TValue>
    ICollection<TValue>
    IEnumerable<TValue>
    IEnumerable
    Inherited Members
    PersistentStoreBase<TValue>.Clear()
    PersistentStoreBase<TValue>.ClearAsync()
    PersistentStoreBase<TValue>.CopyToAsync(Array, int)
    PersistentStoreBase<TValue>.CopyTo(Array, int)
    PersistentStoreBase<TValue>.CopyToAsync(TValue[], int)
    PersistentStoreBase<TValue>.CountAsync
    PersistentStoreBase<TValue>.Count
    PersistentStoreBase<TValue>.IsSynchronized
    PersistentStoreBase<TValue>.SyncRoot
    PersistentStoreBase<TValue>.GetAsyncEnumerator(CancellationToken)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Couchbase.DataStructures
    Assembly: Couchbase.NetClient.dll
    Syntax
    public sealed class PersistentSet<TValue> : PersistentStoreBase<TValue>, ICollection, IAsyncEnumerable<TValue>, IPersistentSet<TValue>, ISet<TValue>, ICollection<TValue>, IEnumerable<TValue>, IEnumerable
    Type Parameters
    Name Description
    TValue

    Properties

    | Edit this page View Source

    IsReadOnly

    Declaration
    public bool IsReadOnly { get; }
    Property Value
    Type Description
    bool

    Methods

    | Edit this page View Source

    Add(TValue)

    Declaration
    [Obsolete("This method is blocking; please use the async version instead.")]
    public bool Add(TValue item)
    Parameters
    Type Name Description
    TValue item
    Returns
    Type Description
    bool
    | Edit this page View Source

    AddAsync(TValue)

    Declaration
    public Task<bool> AddAsync(TValue item)
    Parameters
    Type Name Description
    TValue item
    Returns
    Type Description
    Task<bool>
    | Edit this page View Source

    Contains(TValue)

    Declaration
    [Obsolete("This method is blocking; please use the async version instead.")]
    public bool Contains(TValue item)
    Parameters
    Type Name Description
    TValue item
    Returns
    Type Description
    bool
    | Edit this page View Source

    ContainsAsync(TValue)

    Declaration
    public Task<bool> ContainsAsync(TValue item)
    Parameters
    Type Name Description
    TValue item
    Returns
    Type Description
    Task<bool>
    | Edit this page View Source

    CopyTo(TValue[], int)

    Declaration
    [Obsolete("This method is blocking; please use the async version instead.")]
    public void CopyTo(TValue[] array, int arrayIndex)
    Parameters
    Type Name Description
    TValue[] array
    int arrayIndex
    | Edit this page View Source

    CreateBackingStoreAsync()

    Declaration
    protected override ValueTask CreateBackingStoreAsync()
    Returns
    Type Description
    ValueTask
    Overrides
    PersistentStoreBase<TValue>.CreateBackingStoreAsync()
    | Edit this page View Source

    ExceptWith(IEnumerable<TValue>)

    Declaration
    [Obsolete("This method is blocking; please use the async version instead.")]
    public void ExceptWith(IEnumerable<TValue> other)
    Parameters
    Type Name Description
    IEnumerable<TValue> other
    | Edit this page View Source

    ExceptWithAsync(IEnumerable<TValue>)

    Declaration
    public Task ExceptWithAsync(IEnumerable<TValue> other)
    Parameters
    Type Name Description
    IEnumerable<TValue> other
    Returns
    Type Description
    Task
    | Edit this page View Source

    GetEnumerator()

    Declaration
    [Obsolete("This method is blocking; please use the async version instead.")]
    public IEnumerator<TValue> GetEnumerator()
    Returns
    Type Description
    IEnumerator<TValue>
    | Edit this page View Source

    IntersectWith(IEnumerable<TValue>)

    Declaration
    [Obsolete("This method is blocking; please use the async version instead.")]
    public void IntersectWith(IEnumerable<TValue> other)
    Parameters
    Type Name Description
    IEnumerable<TValue> other
    | Edit this page View Source

    IntersectWithAsync(IEnumerable<TValue>)

    Declaration
    public Task IntersectWithAsync(IEnumerable<TValue> other)
    Parameters
    Type Name Description
    IEnumerable<TValue> other
    Returns
    Type Description
    Task
    | Edit this page View Source

    IsProperSubsetOf(IEnumerable<TValue>)

    Declaration
    [Obsolete("This method is blocking; please use the async version instead.")]
    public bool IsProperSubsetOf(IEnumerable<TValue> other)
    Parameters
    Type Name Description
    IEnumerable<TValue> other
    Returns
    Type Description
    bool
    | Edit this page View Source

    IsProperSubsetOfAsync(IEnumerable<TValue>)

    Declaration
    public Task<bool> IsProperSubsetOfAsync(IEnumerable<TValue> other)
    Parameters
    Type Name Description
    IEnumerable<TValue> other
    Returns
    Type Description
    Task<bool>
    | Edit this page View Source

    IsProperSupersetOf(IEnumerable<TValue>)

    Declaration
    [Obsolete("This method is blocking; please use the async version instead.")]
    public bool IsProperSupersetOf(IEnumerable<TValue> other)
    Parameters
    Type Name Description
    IEnumerable<TValue> other
    Returns
    Type Description
    bool
    | Edit this page View Source

    IsProperSupersetOfAsync(IEnumerable<TValue>)

    Declaration
    public Task<bool> IsProperSupersetOfAsync(IEnumerable<TValue> other)
    Parameters
    Type Name Description
    IEnumerable<TValue> other
    Returns
    Type Description
    Task<bool>
    | Edit this page View Source

    IsSubsetOf(IEnumerable<TValue>)

    Declaration
    [Obsolete("This method is blocking; please use the async version instead.")]
    public bool IsSubsetOf(IEnumerable<TValue> other)
    Parameters
    Type Name Description
    IEnumerable<TValue> other
    Returns
    Type Description
    bool
    | Edit this page View Source

    IsSubsetOfAsync(IEnumerable<TValue>)

    Declaration
    public Task<bool> IsSubsetOfAsync(IEnumerable<TValue> other)
    Parameters
    Type Name Description
    IEnumerable<TValue> other
    Returns
    Type Description
    Task<bool>
    | Edit this page View Source

    IsSupersetOf(IEnumerable<TValue>)

    Declaration
    [Obsolete("This method is blocking; please use the async version instead.")]
    public bool IsSupersetOf(IEnumerable<TValue> other)
    Parameters
    Type Name Description
    IEnumerable<TValue> other
    Returns
    Type Description
    bool
    | Edit this page View Source

    IsSupersetOfAsync(IEnumerable<TValue>)

    Declaration
    public Task<bool> IsSupersetOfAsync(IEnumerable<TValue> other)
    Parameters
    Type Name Description
    IEnumerable<TValue> other
    Returns
    Type Description
    Task<bool>
    | Edit this page View Source

    Overlaps(IEnumerable<TValue>)

    Declaration
    [Obsolete("This method is blocking; please use the async version instead.")]
    public bool Overlaps(IEnumerable<TValue> other)
    Parameters
    Type Name Description
    IEnumerable<TValue> other
    Returns
    Type Description
    bool
    | Edit this page View Source

    OverlapsAsync(IEnumerable<TValue>)

    Declaration
    public Task<bool> OverlapsAsync(IEnumerable<TValue> other)
    Parameters
    Type Name Description
    IEnumerable<TValue> other
    Returns
    Type Description
    Task<bool>
    | Edit this page View Source

    Remove(TValue)

    Declaration
    [Obsolete("This method is blocking; please use the async version instead.")]
    public bool Remove(TValue item)
    Parameters
    Type Name Description
    TValue item
    Returns
    Type Description
    bool
    | Edit this page View Source

    RemoveAsync(TValue)

    Declaration
    public Task<bool> RemoveAsync(TValue item)
    Parameters
    Type Name Description
    TValue item
    Returns
    Type Description
    Task<bool>
    | Edit this page View Source

    SetEquals(IEnumerable<TValue>)

    Declaration
    [Obsolete("This method is blocking; please use the async version instead.")]
    public bool SetEquals(IEnumerable<TValue> other)
    Parameters
    Type Name Description
    IEnumerable<TValue> other
    Returns
    Type Description
    bool
    | Edit this page View Source

    SetEqualsAsync(IEnumerable<TValue>)

    Declaration
    public Task<bool> SetEqualsAsync(IEnumerable<TValue> other)
    Parameters
    Type Name Description
    IEnumerable<TValue> other
    Returns
    Type Description
    Task<bool>
    | Edit this page View Source

    SymmetricExceptWith(IEnumerable<TValue>)

    Declaration
    [Obsolete("This method is blocking; please use the async version instead.")]
    public void SymmetricExceptWith(IEnumerable<TValue> other)
    Parameters
    Type Name Description
    IEnumerable<TValue> other
    | Edit this page View Source

    SymmetricExceptWithAsync(IEnumerable<TValue>)

    Declaration
    public Task SymmetricExceptWithAsync(IEnumerable<TValue> other)
    Parameters
    Type Name Description
    IEnumerable<TValue> other
    Returns
    Type Description
    Task
    | Edit this page View Source

    UnionWith(IEnumerable<TValue>)

    Declaration
    [Obsolete("This method is blocking; please use the async version instead.")]
    public void UnionWith(IEnumerable<TValue> other)
    Parameters
    Type Name Description
    IEnumerable<TValue> other
    | Edit this page View Source

    UnionWithAsync(IEnumerable<TValue>)

    Declaration
    public Task UnionWithAsync(IEnumerable<TValue> other)
    Parameters
    Type Name Description
    IEnumerable<TValue> other
    Returns
    Type Description
    Task

    Implements

    ICollection
    IAsyncEnumerable<T>
    IPersistentSet<TValue>
    ISet<T>
    ICollection<T>
    IEnumerable<T>
    IEnumerable
    • Edit this page
    • View Source
    In this article
    Back to top © 2025 Couchbase, Inc.