Пример #1
0
        public override void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.RateCalculation        serial_RateCalculation        = serial_Class as FpmlSerializedCSharp.RateCalculation;
            FpmlSerializedCSharp.VanillaRateCalculation serial_VanillaRateCalculation = serial_RateCalculation.VanillaRateCalculation_;

            FpmlSerializedCSharp.RateCouponCalculation serial_rateCouponCalculation = serial_VanillaRateCalculation.RateCouponCalculation_;
            string rateCouponCalculationtype = serial_rateCouponCalculation.Excel_type_.ValueStr;

            this.rateCouponCalculationViewModel_ = RateCouponCalculationViewModel.CreateRateCouponCalculation(rateCouponCalculationtype);
            this.rateCouponCalculationViewModel_.setFromSerial(serial_rateCouponCalculation);
        }
 public override void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
 {
     FpmlSerializedCSharp.RateCalculation serial_RateCalculation = serial_Class as FpmlSerializedCSharp.RateCalculation;
     FpmlSerializedCSharp.VanillaRateCalculation serial_VanillaRateCalculation = serial_RateCalculation.VanillaRateCalculation_;
 
     FpmlSerializedCSharp.RateCouponCalculation serial_rateCouponCalculation = serial_VanillaRateCalculation.RateCouponCalculation_;
     string rateCouponCalculationtype = serial_rateCouponCalculation.Excel_type_.ValueStr;
     this.rateCouponCalculationViewModel_ = RateCouponCalculationViewModel.CreateRateCouponCalculation(rateCouponCalculationtype);
     this.rateCouponCalculationViewModel_.setFromSerial(serial_rateCouponCalculation);
     
 }