public void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.PricingParameter serial_PricingParameter = serial_Class as FpmlSerializedCSharp.PricingParameter;

            this.type_ = serial_PricingParameter.Type_.ValueStr;

            FpmlSerializedCSharp.Method serial_method = serial_PricingParameter.Method_;
            string methodtype = serial_method.Excel_type_.ValueStr;

            this.methodViewModel_ = MethodViewModel.CreateMethod(methodtype);
            this.methodViewModel_.setFromSerial(serial_method);
        }
 public  void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
 {
     FpmlSerializedCSharp.PricingParameter serial_PricingParameter = serial_Class as FpmlSerializedCSharp.PricingParameter;
 
     this.type_ = serial_PricingParameter.Type_.ValueStr;
     
     FpmlSerializedCSharp.Method serial_method = serial_PricingParameter.Method_;
     string methodtype = serial_method.Excel_type_.ValueStr;
     this.methodViewModel_ = MethodViewModel.CreateMethod(methodtype);
     this.methodViewModel_.setFromSerial(serial_method);
     
 }