public override void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class) { FpmlSerializedCSharp.PricingResult serial_PricingResult = serial_Class as FpmlSerializedCSharp.PricingResult; FpmlSerializedCSharp.StepDownKIResult serial_StepDownKIResult = serial_PricingResult.StepDownKIResult_; FpmlSerializedCSharp.UnderylingInfoResult serial_underylingInfoResult = serial_StepDownKIResult.UnderylingInfoResult_; string underylingInfoResulttype = serial_underylingInfoResult.Excel_type_.ValueStr; this.underylingInfoResultViewModel_ = UnderylingInfoResultViewModel.CreateUnderylingInfoResult(underylingInfoResulttype); this.underylingInfoResultViewModel_.setFromSerial(serial_underylingInfoResult); FpmlSerializedCSharp.CashFlowInfoResult serial_cashFlowInfoResult = serial_StepDownKIResult.CashFlowInfoResult_; string cashFlowInfoResulttype = serial_cashFlowInfoResult.Excel_type_.ValueStr; this.cashFlowInfoResultViewModel_ = CashFlowInfoResultViewModel.CreateCashFlowInfoResult(cashFlowInfoResulttype); this.cashFlowInfoResultViewModel_.setFromSerial(serial_cashFlowInfoResult); this.theta_ = serial_StepDownKIResult.Theta_.ValueStr; }