public RedPacketScenario(IDispatchMode dispatchMode,
                                 int redPacketCount,
                                 decimal totalAmount,
                                 string message)
        {
            this.RedPackets = dispatchMode.GetDispatchedRedPackets(redPacketCount, totalAmount);

            this.Message = message;
        }
Exemple #2
0
        public RedPacketScenario(IDispatchMode dispatchMode,
                                 int redPacketCount,
                                 decimal totalAmount, 
                                 string message)
        {
            this.RedPackets = dispatchMode.GetDispatchedRedPackets(redPacketCount, totalAmount);

            this.Message = message;
        }
 public RedPacketScenario(IDispatchMode dispatchMode,
                          int redPacketCount,
                          decimal totalAmount)
     : this(dispatchMode, redPacketCount, totalAmount, string.Empty)
 {
 }
Exemple #4
0
 public RedPacketScenario(IDispatchMode dispatchMode,
                          int redPacketCount,
                          decimal totalAmount)
     : this(dispatchMode, redPacketCount, totalAmount, string.Empty) 
 { }