示例#1
0
 public Ticket(IPromoteStrategy promoteStrategy)
 {
     _promoteStrategy = promoteStrategy;
 }
示例#2
0
 public void SetPromoteStrategy(IPromoteStrategy value)
 {
     _promoteStrategy = value;
 }