コード例 #1
0
        public IEnumerable<RedPacket> GetDispatchedRedPackets(int redPacketCount, decimal amount)
        {
            List<RedPacket> redPacketList = new List<RedPacket>();

            for (int index = 0; index < redPacketCount; index++)
            {
                RedPacket redPacket = new RedPacket();
                redPacket.Amount = amount;
            }

            return redPacketList;
        }
コード例 #2
0
        public IEnumerable <RedPacket> GetDispatchedRedPackets(int redPacketCount, decimal amount)
        {
            List <RedPacket> redPacketList = new List <RedPacket>();

            for (int index = 0; index < redPacketCount; index++)
            {
                RedPacket redPacket = new RedPacket();
                redPacket.Amount = amount;
            }

            return(redPacketList);
        }