Esempio n. 1
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);
        }
Esempio n. 2
0
        public override void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.Excel_swapLeg           serial_Excel_swapLeg           = serial_Class as FpmlSerializedCSharp.Excel_swapLeg;
            FpmlSerializedCSharp.Excel_structuredSwapLeg serial_Excel_structuredSwapLeg = serial_Excel_swapLeg.Excel_structuredSwapLeg_;

            //FpmlSerializedCSharp.Excel_swapLegInfo serial_excel_swapLegInfo = serial_Excel_structuredSwapLeg.Excel_swapLegInfo_;
            //this.excel_swapLegInfoViewModel_.setFromSerial(serial_excel_swapLegInfo);

            FpmlSerializedCSharp.Excel_interface serial_excel_interface = serial_Excel_structuredSwapLeg.Excel_interface_;
            //string excel_interfacetype = serial_excel_interface.Excel_type_.ValueStr;
            this.excel_interfaceViewModel_ = new Excel_structuredBondViewModel();
            this.excel_interfaceViewModel_.setFromSerial(serial_excel_interface);
        }
        public override void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.Excel_swapInterface serial_Excel_interface = serial_Class as FpmlSerializedCSharp.Excel_swapInterface;
            FpmlSerializedCSharp.Excel_cds           serial_Excel_cds       = serial_Excel_interface.Excel_cds_;

            FpmlSerializedCSharp.Excel_swapLeg serial_excel_swapLeg = serial_Excel_cds.Excel_swapLeg_;
            string excel_swapLegtype = serial_excel_swapLeg.Excel_type_.ValueStr;

            this.excel_swapLegViewModel_ = Excel_swapLegViewModel.CreateExcel_swapLeg(excel_swapLegtype);
            this.excel_swapLegViewModel_.setFromSerial(serial_excel_swapLeg);

            FpmlSerializedCSharp.Excel_creditEventSwapLeg serial_excel_creditEventSwapLeg = serial_Excel_cds.Excel_creditEventSwapLeg_;
            //string excel_creditEventSwapLegtype = serial_excel_creditEventSwapLeg.Excel_type_.ValueStr;
            this.excel_creditEventSwapLegViewModel_ = new Excel_creditEventSwapLegViewModel();
            this.excel_creditEventSwapLegViewModel_.setFromSerial(serial_excel_creditEventSwapLeg);
        }
Esempio n. 4
0
        public override void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.Excel_swapLeg serial_Excel_swapLeg = serial_Class as FpmlSerializedCSharp.Excel_swapLeg;
            FpmlSerializedCSharp.Excel_vanillaFloatingRateSwapLeg serial_Excel_vanillaFloatingRateSwapLeg = serial_Excel_swapLeg.Excel_vanillaFloatingRateSwapLeg_;

            //FpmlSerializedCSharp.Excel_swapLegInfo serial_excel_swapLegInfo = serial_Excel_vanillaFloatingRateSwapLeg.Excel_swapLegInfo_;
            ////string excel_swapLegInfotype = serial_excel_swapLegInfo.Excel_type_.ValueStr;
            //this.excel_swapLegInfoViewModel_ = new Excel_swapLegInfoViewModel();
            //this.excel_swapLegInfoViewModel_.setFromSerial(serial_excel_swapLegInfo);

            FpmlSerializedCSharp.Excel_interface serial_excel_interface = serial_Excel_vanillaFloatingRateSwapLeg.Excel_interface_;
            string excel_interfacetype = serial_excel_interface.Excel_type_.ValueStr;

            this.excel_vanillaFloatingBondViewModel_ = new Excel_vanillaFloatingBondViewModel();//.CreateExcel_vanillaFloatingBond(excel_vanillaFloatingBondtype);
            this.excel_vanillaFloatingBondViewModel_.setFromSerial(serial_excel_interface);
        }
Esempio n. 5
0
        public override void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.Excel_swapLeg serial_Excel_swapLeg = serial_Class as FpmlSerializedCSharp.Excel_swapLeg;
            FpmlSerializedCSharp.Excel_structuredRateSwapLeg serial_Excel_structuredRateSwapLeg = serial_Excel_swapLeg.Excel_structuredRateSwapLeg_;

            FpmlSerializedCSharp.Excel_swapLegInfo serial_excel_swapLegInfo = serial_Excel_structuredRateSwapLeg.Excel_swapLegInfo_;
            string excel_swapLegInfotype = serial_excel_swapLegInfo.Excel_type_.ValueStr;

            this.excel_swapLegInfoViewModel_ = Excel_swapLegInfoViewModel.CreateExcel_swapLegInfo(excel_swapLegInfotype);
            this.excel_swapLegInfoViewModel_.setFromSerial(serial_excel_swapLegInfo);

            FpmlSerializedCSharp.Excel_interface serial_excel_interface = serial_Excel_structuredRateSwapLeg.Excel_interface_;
            string excel_interfacetype = serial_excel_interface.Excel_type_.ValueStr;

            this.excel_interfaceViewModel_ = Excel_interfaceViewModel.CreateExcel_interface(excel_interfacetype);
            this.excel_interfaceViewModel_.setFromSerial(serial_excel_interface);
        }