public void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class) { FpmlSerializedCSharp.Excel_creditEvents serial_Excel_creditEvents = serial_Class as FpmlSerializedCSharp.Excel_creditEvents; this.failureToPay_ = serial_Excel_creditEvents.FailureToPay_.ValueStr; this.obligationAcceleration_ = serial_Excel_creditEvents.ObligationAcceleration_.ValueStr; this.repudiationMoratorium_ = serial_Excel_creditEvents.RepudiationMoratorium_.ValueStr; this.restructuring_ = serial_Excel_creditEvents.Restructuring_.ValueStr; this.defaultRequirement_ = serial_Excel_creditEvents.DefaultRequirement_.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_ = 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; }