public void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class) { FpmlSerializedCSharp.Excel_creditEventInfo serial_Excel_creditEventInfo = serial_Class as FpmlSerializedCSharp.Excel_creditEventInfo; FpmlSerializedCSharp.Excel_issueInfo serial_excel_issueInfo = serial_Excel_creditEventInfo.Excel_issueInfo_; string excel_issueInfotype = serial_excel_issueInfo.Excel_type_.ValueStr; this.excel_issueInfoViewModel_ = Excel_issueInfoViewModel.CreateExcel_issueInfo(excel_issueInfotype); this.excel_issueInfoViewModel_.setFromSerial(serial_excel_issueInfo); FpmlSerializedCSharp.Excel_referenceInformationList serial_excel_referenceInformationList = serial_Excel_creditEventInfo.Excel_referenceInformationList_; //string excel_referenceInformationListtype = serial_excel_referenceInformationList.Excel_type_.ValueStr; this.excel_referenceInformationListViewModel_ = new Excel_referenceInformationListViewModel(); this.excel_referenceInformationListViewModel_.setFromSerial(serial_excel_referenceInformationList); FpmlSerializedCSharp.Excel_jointProbabilityTrait serial_excel_jointProbabilityTrait = serial_Excel_creditEventInfo.Excel_jointProbabilityTrait_; //string excel_jointProbabilityTraittype = serial_excel_jointProbabilityTrait.Excel_type_.ValueStr; this.excel_jointProbabilityTraitViewModel_ = new Excel_jointProbabilityTraitViewModel(); this.excel_jointProbabilityTraitViewModel_.setFromSerial(serial_excel_jointProbabilityTrait); FpmlSerializedCSharp.Excel_protectionTerms serial_excel_protectionTerms = serial_Excel_creditEventInfo.Excel_protectionTerms_; //string excel_protectionTermstype = serial_excel_protectionTerms.Excel_type_.ValueStr; this.excel_protectionTermsViewModel_ = new Excel_protectionTermsViewModel(); this.excel_protectionTermsViewModel_.setFromSerial(serial_excel_protectionTerms); }
public void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class) { FpmlSerializedCSharp.Excel_creditEventInfo serial_Excel_creditEventInfo = serial_Class as FpmlSerializedCSharp.Excel_creditEventInfo; FpmlSerializedCSharp.Excel_issueInfo serial_excel_issueInfo = serial_Excel_creditEventInfo.Excel_issueInfo_; string excel_issueInfotype = serial_excel_issueInfo.Excel_type_.ValueStr; this.excel_issueInfoViewModel_ = Excel_issueInfoViewModel.CreateExcel_issueInfo(excel_issueInfotype); this.excel_issueInfoViewModel_.setFromSerial(serial_excel_issueInfo); FpmlSerializedCSharp.Excel_referenceInformationList serial_excel_referenceInformationList = serial_Excel_creditEventInfo.Excel_referenceInformationList_; string excel_referenceInformationListtype = serial_excel_referenceInformationList.Excel_type_.ValueStr; this.excel_referenceInformationListViewModel_ = Excel_referenceInformationListViewModel.CreateExcel_referenceInformationList(excel_referenceInformationListtype); this.excel_referenceInformationListViewModel_.setFromSerial(serial_excel_referenceInformationList); FpmlSerializedCSharp.Excel_jointProbabilityTrait serial_excel_jointProbabilityTrait = serial_Excel_creditEventInfo.Excel_jointProbabilityTrait_; string excel_jointProbabilityTraittype = serial_excel_jointProbabilityTrait.Excel_type_.ValueStr; this.excel_jointProbabilityTraitViewModel_ = Excel_jointProbabilityTraitViewModel.CreateExcel_jointProbabilityTrait(excel_jointProbabilityTraittype); this.excel_jointProbabilityTraitViewModel_.setFromSerial(serial_excel_jointProbabilityTrait); FpmlSerializedCSharp.Excel_protectionTerms serial_excel_protectionTerms = serial_Excel_creditEventInfo.Excel_protectionTerms_; string excel_protectionTermstype = serial_excel_protectionTerms.Excel_type_.ValueStr; this.excel_protectionTermsViewModel_ = Excel_protectionTermsViewModel.CreateExcel_protectionTerms(excel_protectionTermstype); this.excel_protectionTermsViewModel_.setFromSerial(serial_excel_protectionTerms); }
private void ViewModelChanged(object sender, DependencyPropertyChangedEventArgs e) { this.viewModel_ = this.DataContext as Excel_referenceInformationListViewModel; }
private void ViewModelChanged(object sender, DependencyPropertyChangedEventArgs e) { this.viewModel_ = this.DataContext as Excel_referenceInformationListViewModel; }