コード例 #1
0
        public async Task find_owner_histories()
        {
            var args = new FindOwnerHistoriesArgs();
            var resp = await Api.FindOwnerHistoriesAsync(args, CancellationToken.None).ConfigureAwait(false);

            TestPropetries(resp);
        }
コード例 #2
0
        public void find_owner_histories()
        {
            var args = new FindOwnerHistoriesArgs();
            var resp = Api.FindOwnerHistories(args, CancellationToken.None);

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

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

            TestPropetries(resp.Result.GetType(), obj.Result);
            WriteLine("----------------------------------------------------------------------------");
            WriteLine(obj);
        }
コード例 #3
0
 /// <summary>
 /// API name: find_owner_histories
 ///
 /// </summary>
 /// <param name="args">API type: find_owner_histories_args</param>
 /// <param name="token">Throws a <see cref="T:System.OperationCanceledException" /> if this token has had cancellation requested.</param>
 /// <returns>API type: find_owner_histories_return</returns>
 /// <exception cref="T:System.OperationCanceledException">The token has had cancellation requested.</exception>
 public Task <JsonRpcResponse <FindOwnerHistoriesReturn> > FindOwnerHistories(FindOwnerHistoriesArgs args, CancellationToken token)
 {
     return(CustomGetRequest <FindOwnerHistoriesReturn>(KnownApiNames.DatabaseApi, "find_owner_histories", args, token));
 }