setPricer() 공개 메소드

public setPricer ( FloatingRateCouponPricer pricer ) : void
pricer FloatingRateCouponPricer
리턴 void
예제 #1
0
        public void visit(CappedFlooredCoupon c)
        {
            CmsCouponPricer pricer = pricer_ as CmsCouponPricer;

            if (pricer == null)
            {
                throw new ApplicationException("pricer not compatible with CMS coupon");
            }
            c.setPricer(pricer);
        }
예제 #2
0
 public void visit(CappedFlooredCoupon c)
 {
     CmsCouponPricer pricer = pricer_ as CmsCouponPricer;
        if (pricer == null)
       throw new ApplicationException("pricer not compatible with CMS coupon");
        c.setPricer(pricer);
 }
예제 #3
0
 public void visit(CappedFlooredCoupon c)
 {
     c.setPricer(pricer_);
 }