public IFixing[] Visit(Coupon coupon) { return(coupon.Fixings); }
public DateTime[] Visit(Coupon coupon) { var fixingsDates = coupon.Fixings.Select(f => f.Date).Distinct(); return(fixingsDates.Union(new[] { coupon.PaymentInfo.Date }).ToArray()); }
public PaymentInfo[] Visit(Coupon coupon) { return(new[] { coupon.PaymentInfo }); }