Esempio n. 1
0
        public override void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.PayoffInfo         serial_PayoffInfo         = serial_Class as FpmlSerializedCSharp.PayoffInfo;
            FpmlSerializedCSharp.AutoCallablePayoff serial_AutoCallablePayoff = serial_PayoffInfo.AutoCallablePayoff_;

            FpmlSerializedCSharp.EventTriggerList serial_eventTriggerList = serial_AutoCallablePayoff.EventTriggerList_;
            string eventTriggerListtype = serial_eventTriggerList.Excel_type_.ValueStr;

            this.eventTriggerListViewModel_ = EventTriggerListViewModel.CreateEventTriggerList(eventTriggerListtype);
            this.eventTriggerListViewModel_.setFromSerial(serial_eventTriggerList);
        }
Esempio n. 2
0
        public override void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.PayoffInfo         serial_PayoffInfo         = serial_Class as FpmlSerializedCSharp.PayoffInfo;
            FpmlSerializedCSharp.AutoCallablePayoff serial_AutoCallablePayoff = serial_PayoffInfo.AutoCallablePayoff_;

            FpmlSerializedCSharp.EventTriggerList serial_eventTriggerList = serial_AutoCallablePayoff.EventTriggerList_;
            this.eventTriggerListViewModel_.setFromSerial(serial_eventTriggerList);

            //this.view_ = new AutoCallablePayoffView();
            this.view_.DataContext = this;
        }