コード例 #1
0
        /// <summary>
        /// Get a member's list of balances.
        /// </summary>
        /// <param name="member">Member.</param>
        /// <returns>list of balances</returns>
        public static IList <Balance> MemberGetBalanceListSample(UserMember member)
        {
            List <string> accountIds = member
                                       .GetAccountsBlocking().Select(acc => acc.Id()).ToList();

            var balances = member.GetBalancesBlocking(accountIds, Key.Types.Level.Standard);

            return(balances);
        }