public  void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
 {
     FpmlSerializedCSharp.ReferenceObligation serial_ReferenceObligation = serial_Class as FpmlSerializedCSharp.ReferenceObligation;
 
     FpmlSerializedCSharp.Bond serial_bond = serial_ReferenceObligation.Bond_;
     string bondtype = serial_bond.Excel_type_.ValueStr;
     this.bondViewModel_ = BondViewModel.CreateBond(bondtype);
     this.bondViewModel_.setFromSerial(serial_bond);
     
 }
コード例 #2
0
        public void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.ReferenceObligation serial_ReferenceObligation = serial_Class as FpmlSerializedCSharp.ReferenceObligation;

            FpmlSerializedCSharp.Bond serial_bond = serial_ReferenceObligation.Bond_;
            string bondtype = serial_bond.Excel_type_.ValueStr;

            this.bondViewModel_ = BondViewModel.CreateBond(bondtype);
            this.bondViewModel_.setFromSerial(serial_bond);
        }