Beispiel #1
0
        public void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.ReferenceInformation serial_ReferenceInformation = serial_Class as FpmlSerializedCSharp.ReferenceInformation;

            FpmlSerializedCSharp.ReferenceEntity serial_referenceEntity = serial_ReferenceInformation.ReferenceEntity_;
            this.referenceEntityViewModel_ = new ReferenceEntityViewModel();
            this.referenceEntityViewModel_.setFromSerial(serial_referenceEntity);

            FpmlSerializedCSharp.ReferenceObligation serial_referenceObligation = serial_ReferenceInformation.ReferenceObligation_;
            this.referenceObligationViewModel_ = new ReferenceObligationViewModel();
            this.referenceObligationViewModel_.setFromSerial(serial_referenceObligation);

            this.referencePrice_ = serial_ReferenceInformation.ReferencePrice_.ValueStr;
        }
 public  void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
 {
     FpmlSerializedCSharp.ReferenceInformation serial_ReferenceInformation = serial_Class as FpmlSerializedCSharp.ReferenceInformation;
 
     FpmlSerializedCSharp.ReferenceEntity serial_referenceEntity = serial_ReferenceInformation.ReferenceEntity_;
     this.referenceEntityViewModel_ = new ReferenceEntityViewModel();
     this.referenceEntityViewModel_.setFromSerial(serial_referenceEntity);
     
     FpmlSerializedCSharp.ReferenceObligation serial_referenceObligation = serial_ReferenceInformation.ReferenceObligation_;
     this.referenceObligationViewModel_ = new ReferenceObligationViewModel();
     this.referenceObligationViewModel_.setFromSerial(serial_referenceObligation);
     
     this.referencePrice_ = serial_ReferenceInformation.ReferencePrice_.ValueStr;
     
 }