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

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

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