예제 #1
0
        public async Task list_change_recovery_account_requests()
        {
            var args = new ListChangeRecoveryAccountRequestsArgs
            {
                Order = SortOrderType.ByAccount
            };
            var resp = await Api.ListChangeRecoveryAccountRequestsAsync(args, CancellationToken.None).ConfigureAwait(false);

            TestPropetries(resp);
        }
예제 #2
0
        public void list_change_recovery_account_requests()
        {
            var args = new ListChangeRecoveryAccountRequestsArgs()
            {
                Order = SortOrderType.ByAccount
            };
            var resp = Api.ListChangeRecoveryAccountRequests(args, CancellationToken.None);

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

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

            TestPropetries(resp.Result.GetType(), obj.Result);
            WriteLine("----------------------------------------------------------------------------");
            WriteLine(obj);
        }
예제 #3
0
 /// <summary>
 /// API name: list_change_recovery_account_requests
 ///
 /// </summary>
 /// <param name="args">API type: list_change_recovery_account_requests_args</param>
 /// <param name="token">Throws a <see cref="T:System.OperationCanceledException" /> if this token has had cancellation requested.</param>
 /// <returns>API type: list_change_recovery_account_requests_return</returns>
 /// <exception cref="T:System.OperationCanceledException">The token has had cancellation requested.</exception>
 public Task <JsonRpcResponse <ListChangeRecoveryAccountRequestsReturn> > ListChangeRecoveryAccountRequests(ListChangeRecoveryAccountRequestsArgs args, CancellationToken token)
 {
     return(CustomGetRequest <ListChangeRecoveryAccountRequestsReturn>(KnownApiNames.DatabaseApi, "list_change_recovery_account_requests", args, token));
 }