Наследование: QLNet.FloatingRateCoupon
Пример #1
0
 public override void initialize(FloatingRateCoupon coupon)
 {
     coupon_ = coupon as OvernightIndexedCoupon;
     if (coupon_ == null)
     {
         throw new ApplicationException("wrong coupon type");
     }
 }
Пример #2
0
 public override void initialize(FloatingRateCoupon coupon)
 {
    coupon_ = coupon as OvernightIndexedCoupon;
    if (coupon_ == null)
       throw new ApplicationException("wrong coupon type");
 }
Пример #3
0
 public override void initialize(FloatingRateCoupon coupon)
 {
     coupon_ = coupon as OvernightIndexedCoupon;
     Utils.QL_REQUIRE(coupon_ != null, () => "wrong coupon type");
 }