Search Results for

    Show / Hide Table of Contents

    Class DeepRpcDictionary<TKey, TValue>

    Rpc query to get a dictionary of json objects, which can also be accessed by key

    Inheritance
    System.Object
    RpcQuery
    RpcObject
    RpcDictionary<TKey, TValue>
    DeepRpcDictionary<TKey, TValue>
    Inherited Members
    RpcDictionary<TKey, TValue>.Item[TKey]
    RpcObject.GetAsync()
    RpcObject.GetAsync<T>()
    RpcQuery.ToString()
    Namespace: Netezos.Rpc
    Assembly: Netezos.dll
    Syntax
    public class DeepRpcDictionary<TKey, TValue> : RpcDictionary<TKey, TValue> where TValue : RpcObject
    Type Parameters
    Name Description
    TKey

    Type of the keys to access the objects in the dictionary

    TValue

    Type of the objects in the dictionary

    Methods

    | Improve this Doc View Source

    GetAsync(Int32)

    Executes the query and returns the dynamic json object

    Declaration
    public Task<dynamic> GetAsync(int depth)
    Parameters
    Type Name Description
    System.Int32 depth

    Depth

    Returns
    Type Description
    Task<System.Object>
    | Improve this Doc View Source

    GetAsync<T>(Int32)

    Executes the query and returns the json object, deserialized to the specified type

    Declaration
    public Task<T> GetAsync<T>(int depth)
    Parameters
    Type Name Description
    System.Int32 depth

    Depth

    Returns
    Type Description
    Task<T>
    Type Parameters
    Name Description
    T

    Type of the object to deserialize to

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © Baking Bad