Couchbase .NET SDK | 3.4.4
Search Results for

    Show / Hide Table of Contents

    Class PersistentDictionary<TValue>

    Inheritance
    Object
    PersistentDictionary<TValue>
    Implements
    IPersistentDictionary<TValue>
    IDictionary<String, TValue>
    IAsyncEnumerable<KeyValuePair<String, TValue>>
    Namespace: Couchbase.DataStructures
    Assembly: Couchbase.NetClient.dll
    Syntax
    public sealed class PersistentDictionary<TValue> : object, IPersistentDictionary<TValue>, IDictionary<string, TValue>, IAsyncEnumerable<KeyValuePair<string, TValue>>
    Type Parameters
    Name Description
    TValue

    Properties

    | Improve this Doc View Source

    Count

    Declaration
    public int Count { get; }
    Property Value
    Type Description
    Int32
    | Improve this Doc View Source

    CountAsync

    Declaration
    public Task<int> CountAsync { get; }
    Property Value
    Type Description
    Task<Int32>
    | Improve this Doc View Source

    IsReadOnly

    Declaration
    public bool IsReadOnly { get; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    Item[String]

    Declaration
    public TValue this[string key] { get; set; }
    Parameters
    Type Name Description
    String key
    Property Value
    Type Description
    TValue
    | Improve this Doc View Source

    Keys

    Declaration
    public ICollection<string> Keys { get; }
    Property Value
    Type Description
    ICollection<String>
    | Improve this Doc View Source

    KeysAsync

    Declaration
    public Task<ICollection<string>> KeysAsync { get; }
    Property Value
    Type Description
    Task<ICollection<String>>
    | Improve this Doc View Source

    Values

    Declaration
    public ICollection<TValue> Values { get; }
    Property Value
    Type Description
    ICollection<TValue>
    | Improve this Doc View Source

    ValuesAsync

    Declaration
    public Task<ICollection<TValue>> ValuesAsync { get; }
    Property Value
    Type Description
    Task<ICollection<TValue>>

    Methods

    | Improve this Doc View Source

    Add(KeyValuePair<String, TValue>)

    Declaration
    public void Add(KeyValuePair<string, TValue> item)
    Parameters
    Type Name Description
    KeyValuePair<String, TValue> item
    | Improve this Doc View Source

    Add(String, TValue)

    Declaration
    public void Add(string key, TValue value)
    Parameters
    Type Name Description
    String key
    TValue value
    | Improve this Doc View Source

    AddAsync(KeyValuePair<String, TValue>)

    Declaration
    public async Task AddAsync(KeyValuePair<string, TValue> item)
    Parameters
    Type Name Description
    KeyValuePair<String, TValue> item
    Returns
    Type Description
    Task
    | Improve this Doc View Source

    AddAsync(String, TValue)

    Declaration
    public async Task AddAsync(string key, TValue value)
    Parameters
    Type Name Description
    String key
    TValue value
    Returns
    Type Description
    Task
    | Improve this Doc View Source

    Clear()

    Declaration
    public void Clear()
    | Improve this Doc View Source

    ClearAsync()

    Declaration
    public async Task ClearAsync()
    Returns
    Type Description
    Task
    | Improve this Doc View Source

    Contains(KeyValuePair<String, TValue>)

    Declaration
    public bool Contains(KeyValuePair<string, TValue> item)
    Parameters
    Type Name Description
    KeyValuePair<String, TValue> item
    Returns
    Type Description
    Boolean
    | Improve this Doc View Source

    ContainsAsync(KeyValuePair<String, TValue>)

    Declaration
    public Task<bool> ContainsAsync(KeyValuePair<string, TValue> item)
    Parameters
    Type Name Description
    KeyValuePair<String, TValue> item
    Returns
    Type Description
    Task<Boolean>
    | Improve this Doc View Source

    ContainsKey(String)

    Declaration
    public bool ContainsKey(string key)
    Parameters
    Type Name Description
    String key
    Returns
    Type Description
    Boolean
    | Improve this Doc View Source

    ContainsKeyAsync(String)

    Declaration
    public async Task<bool> ContainsKeyAsync(string key)
    Parameters
    Type Name Description
    String key
    Returns
    Type Description
    Task<Boolean>
    | Improve this Doc View Source

    CopyTo(KeyValuePair<String, TValue>[], Int32)

    Declaration
    public void CopyTo(KeyValuePair<string, TValue>[] array, int arrayIndex)
    Parameters
    Type Name Description
    KeyValuePair<String, TValue>[] array
    Int32 arrayIndex
    | Improve this Doc View Source

    GetAsync(String)

    Declaration
    public async Task<TValue> GetAsync(string key)
    Parameters
    Type Name Description
    String key
    Returns
    Type Description
    Task<TValue>
    | Improve this Doc View Source

    GetAsyncEnumerator(CancellationToken)

    Declaration
    public async IAsyncEnumerator<KeyValuePair<string, TValue>> GetAsyncEnumerator(CancellationToken cancellationToken = null)
    Parameters
    Type Name Description
    CancellationToken cancellationToken
    Returns
    Type Description
    IAsyncEnumerator<KeyValuePair<String, TValue>>
    | Improve this Doc View Source

    GetEnumerator()

    Declaration
    public IEnumerator<KeyValuePair<string, TValue>> GetEnumerator()
    Returns
    Type Description
    IEnumerator<KeyValuePair<String, TValue>>
    | Improve this Doc View Source

    Remove(KeyValuePair<String, TValue>)

    Declaration
    public bool Remove(KeyValuePair<string, TValue> item)
    Parameters
    Type Name Description
    KeyValuePair<String, TValue> item
    Returns
    Type Description
    Boolean
    | Improve this Doc View Source

    Remove(String)

    Declaration
    public bool Remove(string key)
    Parameters
    Type Name Description
    String key
    Returns
    Type Description
    Boolean
    | Improve this Doc View Source

    RemoveAsync(KeyValuePair<String, TValue>)

    Declaration
    public Task<bool> RemoveAsync(KeyValuePair<string, TValue> item)
    Parameters
    Type Name Description
    KeyValuePair<String, TValue> item
    Returns
    Type Description
    Task<Boolean>
    | Improve this Doc View Source

    RemoveAsync(String)

    Declaration
    public async Task<bool> RemoveAsync(string key)
    Parameters
    Type Name Description
    String key
    Returns
    Type Description
    Task<Boolean>
    | Improve this Doc View Source

    SetAsync(String, TValue)

    Declaration
    public async Task SetAsync(string key, TValue value)
    Parameters
    Type Name Description
    String key
    TValue value
    Returns
    Type Description
    Task
    | Improve this Doc View Source

    TryGetValue(String, out TValue)

    Declaration
    public bool TryGetValue(string key, out TValue value)
    Parameters
    Type Name Description
    String key
    TValue value
    Returns
    Type Description
    Boolean

    Implements

    IPersistentDictionary<TValue>
    IDictionary<, >
    IAsyncEnumerable<>
    • Improve this Doc
    • View Source
    In This Article
    Back to top © 2023 Couchbase, Inc.