Class DeepRpcObject
Rpc query to get a json object
Inheritance
System.Object
DeepRpcObject
Namespace: Netmavryk.Rpc
Assembly: Netmavryk.dll
Syntax
public class DeepRpcObject : RpcObject
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 |