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

            FpmlSerializedCSharp.CreditDefaultSwap serial_creditDefaultSwap = serial_CreditDefaultSwapInstrument.CreditDefaultSwap_;
            string creditDefaultSwaptype = serial_creditDefaultSwap.Excel_type_.ValueStr;

            this.creditDefaultSwapViewModel_ = CreditDefaultSwapViewModel.CreateCreditDefaultSwap(creditDefaultSwaptype);
            this.creditDefaultSwapViewModel_.setFromSerial(serial_creditDefaultSwap);
        }
 public  void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
 {
     FpmlSerializedCSharp.CreditDefaultSwapInstrument serial_CreditDefaultSwapInstrument = serial_Class as FpmlSerializedCSharp.CreditDefaultSwapInstrument;
 
     FpmlSerializedCSharp.CreditDefaultSwap serial_creditDefaultSwap = serial_CreditDefaultSwapInstrument.CreditDefaultSwap_;
     string creditDefaultSwaptype = serial_creditDefaultSwap.Excel_type_.ValueStr;
     this.creditDefaultSwapViewModel_ = CreditDefaultSwapViewModel.CreateCreditDefaultSwap(creditDefaultSwaptype);
     this.creditDefaultSwapViewModel_.setFromSerial(serial_creditDefaultSwap);
     
 }