Exemple #1
0
        public void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.Excel_creditEventInfo serial_Excel_creditEventInfo = serial_Class as FpmlSerializedCSharp.Excel_creditEventInfo;

            FpmlSerializedCSharp.Excel_issueInfo serial_excel_issueInfo = serial_Excel_creditEventInfo.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_referenceInformationList serial_excel_referenceInformationList = serial_Excel_creditEventInfo.Excel_referenceInformationList_;
            //string excel_referenceInformationListtype = serial_excel_referenceInformationList.Excel_type_.ValueStr;
            this.excel_referenceInformationListViewModel_ = new Excel_referenceInformationListViewModel();
            this.excel_referenceInformationListViewModel_.setFromSerial(serial_excel_referenceInformationList);

            FpmlSerializedCSharp.Excel_jointProbabilityTrait serial_excel_jointProbabilityTrait = serial_Excel_creditEventInfo.Excel_jointProbabilityTrait_;
            //string excel_jointProbabilityTraittype = serial_excel_jointProbabilityTrait.Excel_type_.ValueStr;
            this.excel_jointProbabilityTraitViewModel_ = new Excel_jointProbabilityTraitViewModel();
            this.excel_jointProbabilityTraitViewModel_.setFromSerial(serial_excel_jointProbabilityTrait);

            FpmlSerializedCSharp.Excel_protectionTerms serial_excel_protectionTerms = serial_Excel_creditEventInfo.Excel_protectionTerms_;
            //string excel_protectionTermstype = serial_excel_protectionTerms.Excel_type_.ValueStr;
            this.excel_protectionTermsViewModel_ = new Excel_protectionTermsViewModel();
            this.excel_protectionTermsViewModel_.setFromSerial(serial_excel_protectionTerms);
        }
Exemple #2
0
        public override void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.Excel_swapLeg            serial_Excel_swapLeg            = serial_Class as FpmlSerializedCSharp.Excel_swapLeg;
            FpmlSerializedCSharp.Excel_creditEventSwapLeg serial_Excel_creditEventSwapLeg = serial_Excel_swapLeg.Excel_creditEventSwapLeg_;

            FpmlSerializedCSharp.Excel_creditEventInfo serial_excel_creditEventInfo = serial_Excel_creditEventSwapLeg.Excel_creditEventInfo_;
            string excel_creditEventInfotype = serial_excel_creditEventInfo.Excel_type_.ValueStr;

            this.excel_creditEventInfoViewModel_ = Excel_creditEventInfoViewModel.CreateExcel_creditEventInfo(excel_creditEventInfotype);
            this.excel_creditEventInfoViewModel_.setFromSerial(serial_excel_creditEventInfo);
        }