public MovieTicket() { discountList = new List <string>(); tickeTypeSource = new List <ComboBoxItem>(); benefit = new DefaultBenefit(); }
public void AddBonus(IBenefit bonus) { bonuses.Add(bonus); }
public static IBenefit Copy(this IBenefit benefit) { return(benefit switch { DemoBenefit demoBenefit => new DemoBenefit(), _ => throw new NotImplementedException($"{nameof(Copy)} not implemented for benefit {benefit.Name}") });
public DeductibleController(IBenefit benefit) { _benefit = benefit; }
public OopMaxController(IBenefit benefit) { _benefit = benefit; }
public MovieTicket() { discountList = new List<string>(); tickeTypeSource = new List<ComboBoxItem>(); benefit = new DefaultBenefit(); }