Class DeepRpcDictionary<TKey, TValue>
Rpc query to get a dictionary of json objects, which can also be accessed by key
Inherited Members
Namespace: Netmavryk.Rpc
Assembly: Netmavryk.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 SourceGetAsync(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> |
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 |