Couchbase .NET SDK __CB_SDK_VERSION__

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>.GetAsyncEnumerator(CancellationToken)
PersistentStoreBase<TValue>.CountAsync
PersistentStoreBase<TValue>.Count
PersistentStoreBase<TValue>.IsSynchronized
PersistentStoreBase<TValue>.SyncRoot
object.GetType()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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

View Source

IsReadOnly

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

Methods

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
View Source

AddAsync(TValue)

Declaration
public Task<bool> AddAsync(TValue item)
Parameters
Type Name Description
TValue item
Returns
Type Description
Task<bool>
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
View Source

ContainsAsync(TValue)

Declaration
public Task<bool> ContainsAsync(TValue item)
Parameters
Type Name Description
TValue item
Returns
Type Description
Task<bool>
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
View Source

CreateBackingStoreAsync()

Declaration
protected override ValueTask CreateBackingStoreAsync()
Returns
Type Description
ValueTask
Overrides
PersistentStoreBase<TValue>.CreateBackingStoreAsync()
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
View Source

ExceptWithAsync(IEnumerable<TValue>)

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

GetEnumerator()

Declaration
[Obsolete("This method is blocking; please use the async version instead.")]
public IEnumerator<TValue> GetEnumerator()
Returns
Type Description
IEnumerator<TValue>
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
View Source

IntersectWithAsync(IEnumerable<TValue>)

Declaration
public Task IntersectWithAsync(IEnumerable<TValue> other)
Parameters
Type Name Description
IEnumerable<TValue> other
Returns
Type Description
Task
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
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>
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
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>
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
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>
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
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>
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
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>
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
View Source

RemoveAsync(TValue)

Declaration
public Task<bool> RemoveAsync(TValue item)
Parameters
Type Name Description
TValue item
Returns
Type Description
Task<bool>
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
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>
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
View Source

SymmetricExceptWithAsync(IEnumerable<TValue>)

Declaration
public Task SymmetricExceptWithAsync(IEnumerable<TValue> other)
Parameters
Type Name Description
IEnumerable<TValue> other
Returns
Type Description
Task
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
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
  • View Source
In this article
Back to top Copyright © 2020 Couchbase, Inc. All rights reserved.