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

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

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