示例#1
0
 public IFixing[] Visit(Coupon coupon)
 {
     return(coupon.Fixings);
 }
示例#2
0
            public DateTime[] Visit(Coupon coupon)
            {
                var fixingsDates = coupon.Fixings.Select(f => f.Date).Distinct();

                return(fixingsDates.Union(new[] { coupon.PaymentInfo.Date }).ToArray());
            }
示例#3
0
 public PaymentInfo[] Visit(Coupon coupon)
 {
     return(new[] { coupon.PaymentInfo });
 }