public void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class) { FpmlSerializedCSharp.Excel_protectionTerms serial_Excel_protectionTerms = serial_Class as FpmlSerializedCSharp.Excel_protectionTerms; FpmlSerializedCSharp.Excel_creditEvents serial_excel_creditEvents = serial_Excel_protectionTerms.Excel_creditEvents_; //string excel_creditEventstype = serial_excel_creditEvents.Excel_type_.ValueStr; this.excel_creditEventsViewModel_ = new Excel_creditEventsViewModel(); this.excel_creditEventsViewModel_.setFromSerial(serial_excel_creditEvents); FpmlSerializedCSharp.Excel_obligations serial_excel_obligations = serial_Excel_protectionTerms.Excel_obligations_; //string excel_obligationstype = serial_excel_obligations.Excel_type_.ValueStr; this.excel_obligationsViewModel_ = new Excel_obligationsViewModel(); this.excel_obligationsViewModel_.setFromSerial(serial_excel_obligations); this.accrualCoupon_ = serial_Excel_protectionTerms.AccrualCoupon_.ValueStr; }
public void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class) { FpmlSerializedCSharp.Excel_protectionTerms serial_Excel_protectionTerms = serial_Class as FpmlSerializedCSharp.Excel_protectionTerms; FpmlSerializedCSharp.Excel_creditEvents serial_excel_creditEvents = serial_Excel_protectionTerms.Excel_creditEvents_; string excel_creditEventstype = serial_excel_creditEvents.Excel_type_.ValueStr; this.excel_creditEventsViewModel_ = Excel_creditEventsViewModel.CreateExcel_creditEvents(excel_creditEventstype); this.excel_creditEventsViewModel_.setFromSerial(serial_excel_creditEvents); FpmlSerializedCSharp.Excel_obligations serial_excel_obligations = serial_Excel_protectionTerms.Excel_obligations_; string excel_obligationstype = serial_excel_obligations.Excel_type_.ValueStr; this.excel_obligationsViewModel_ = Excel_obligationsViewModel.CreateExcel_obligations(excel_obligationstype); this.excel_obligationsViewModel_.setFromSerial(serial_excel_obligations); this.accrualCoupon_ = serial_Excel_protectionTerms.AccrualCoupon_.ValueStr; }