public override void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class) { FpmlSerializedCSharp.Excel_interface serial_Excel_interface = serial_Class as FpmlSerializedCSharp.Excel_interface; FpmlSerializedCSharp.Excel_structuredBond serial_Excel_structuredBond = serial_Excel_interface.Excel_structuredBond_; FpmlSerializedCSharp.Excel_issueInfo serial_excel_issueInfo = serial_Excel_structuredBond.Excel_issueInfo_; string excel_issueInfotype = serial_excel_issueInfo.Excel_type_.ValueStr; this.excel_issueInfoViewModel_ = Excel_issueInfoViewModel.CreateExcel_issueInfo(excel_issueInfotype); this.excel_issueInfoViewModel_.setFromSerial(serial_excel_issueInfo); FpmlSerializedCSharp.Excel_underlyingCalcInfo serial_excel_underlyingCalcInfo = serial_Excel_structuredBond.Excel_underlyingCalcInfo_; string excel_underlyingCalcInfotype = serial_excel_underlyingCalcInfo.Excel_type_.ValueStr; this.excel_underlyingCalcInfoViewModel_ = Excel_underlyingCalcInfoViewModel.CreateExcel_underlyingCalcInfo(excel_underlyingCalcInfotype); this.excel_underlyingCalcInfoViewModel_.setFromSerial(serial_excel_underlyingCalcInfo); FpmlSerializedCSharp.Excel_couponScheduleList serial_excel_couponScheduleList = serial_Excel_structuredBond.Excel_couponScheduleList_; string excel_couponScheduleListtype = serial_excel_couponScheduleList.Excel_type_.ValueStr; this.excel_couponScheduleListViewModel_ = Excel_couponScheduleListViewModel.CreateExcel_couponScheduleList(excel_couponScheduleListtype); this.excel_couponScheduleListViewModel_.setFromSerial(serial_excel_couponScheduleList); FpmlSerializedCSharp.Excel_structuredBond_subtype serial_excel_structuredBond_subtype = serial_Excel_structuredBond.Excel_structuredBond_subtype_; string excel_structuredBond_subtypetype = serial_excel_structuredBond_subtype.Excel_type_.ValueStr; this.excel_structuredBond_subtypeViewModel_ = Excel_structuredBond_subtypeViewModel.CreateExcel_structuredBond_subtype(excel_structuredBond_subtypetype); this.excel_structuredBond_subtypeViewModel_.setFromSerial(serial_excel_structuredBond_subtype); }
public override void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class) { FpmlSerializedCSharp.Excel_interface serial_Excel_interface = serial_Class as FpmlSerializedCSharp.Excel_interface; FpmlSerializedCSharp.Excel_structuredBond serial_Excel_structuredBond = serial_Excel_interface.Excel_structuredBond_; FpmlSerializedCSharp.Excel_issueInfo serial_excel_issueInfo = serial_Excel_structuredBond.Excel_issueInfo_; string excel_issueInfotype = serial_excel_issueInfo.Excel_type_.ValueStr; this.excel_issueInfoViewModel_ = Excel_issueInfoViewModel.CreateExcel_issueInfo(excel_issueInfotype); this.excel_issueInfoViewModel_.setFromSerial(serial_excel_issueInfo); FpmlSerializedCSharp.Excel_underlyingCalcInfo serial_excel_underlyingCalcInfo = serial_Excel_structuredBond.Excel_underlyingCalcInfo_; string excel_underlyingCalcInfotype = serial_excel_underlyingCalcInfo.Excel_type_.ValueStr; this.excel_underlyingCalcInfoViewModel_ = Excel_underlyingCalcInfoViewModel.CreateExcel_underlyingCalcInfo(excel_underlyingCalcInfotype); this.excel_underlyingCalcInfoViewModel_.setFromSerial(serial_excel_underlyingCalcInfo); FpmlSerializedCSharp.Excel_couponScheduleList serial_excel_couponScheduleList = serial_Excel_structuredBond.Excel_couponScheduleList_; string excel_couponScheduleListtype = serial_excel_couponScheduleList.Excel_type_.ValueStr; this.excel_couponScheduleListViewModel_ = Excel_couponScheduleListViewModel.CreateExcel_couponScheduleList(excel_couponScheduleListtype); this.excel_couponScheduleListViewModel_.setFromSerial(serial_excel_couponScheduleList); FpmlSerializedCSharp.Excel_structuredBond_subtype serial_excel_structuredBond_subtype = serial_Excel_structuredBond.Excel_structuredBond_subtype_; string excel_structuredBond_subtypetype = serial_excel_structuredBond_subtype.Excel_type_.ValueStr; this.excel_structuredBond_subtypeViewModel_ = Excel_structuredBond_subtypeViewModel.CreateExcel_structuredBond_subtype(excel_structuredBond_subtypetype); this.excel_structuredBond_subtypeViewModel_.setFromSerial(serial_excel_structuredBond_subtype); }