Example #1
0
        public async Task find_sbd_conversion_requests()
        {
            var args = new FindSbdConversionRequestsArgs();
            var resp = await Api.FindSbdConversionRequestsAsync(args, CancellationToken.None).ConfigureAwait(false);

            TestPropetries(resp);
        }
Example #2
0
        public void find_sbd_conversion_requests()
        {
            var args = new FindSbdConversionRequestsArgs();
            var resp = Api.FindSbdConversionRequests(args, CancellationToken.None);

            WriteLine(resp);
            Assert.IsFalse(resp.IsError);

            var obj = Api.CustomGetRequest <JObject>(KnownApiNames.DatabaseApi, "find_sbd_conversion_requests", args, CancellationToken.None);

            TestPropetries(resp.Result.GetType(), obj.Result);
            WriteLine("----------------------------------------------------------------------------");
            WriteLine(obj);
        }
Example #3
0
 /// <summary>
 /// API name: find_sbd_conversion_requests
 ///
 /// </summary>
 /// <param name="args">API type: find_sbd_conversion_requests_args</param>
 /// <param name="token">Throws a <see cref="T:System.OperationCanceledException" /> if this token has had cancellation requested.</param>
 /// <returns>API type: find_sbd_conversion_requests_return</returns>
 /// <exception cref="T:System.OperationCanceledException">The token has had cancellation requested.</exception>
 public Task <JsonRpcResponse <FindSbdConversionRequestsReturn> > FindSbdConversionRequests(FindSbdConversionRequestsArgs args, CancellationToken token)
 {
     return(CustomGetRequest <FindSbdConversionRequestsReturn>(KnownApiNames.DatabaseApi, "find_sbd_conversion_requests", args, token));
 }