private ScenarioResult<PCalcResultInfo> UpdateWeight(EnvironmentInfo environment, ProductDescriptionInfo description, RateCalculationFileHandler handler)
 {
     using (var context = new PCalcProxyContext(environment, handler.PawnFile, handler.RateTableFile, handler.AdditionalFiles))
     {
         IPCalcProxy proxy = context.Proxy;
         PCalcResultInfo result = proxy.Calculate(environment, description);
         HandleCurrencySymbol(result, environment);
         return new ScenarioResult<PCalcResultInfo>() { Value = result };
     }
 }
 public OnlineRateCalculation(RateCalculationFileHandler handler, ScenarioRunner runner)
 {
     m_Handler = handler;
     m_ScenarioRunner = runner;
 }
 private ScenarioResult<PCalcResultInfo> Start(EnvironmentInfo environment, WeightInfo weight, RateCalculationFileHandler handler)
 {
     using (var context = new PCalcProxyContext(environment, handler.PawnFile, handler.RateTableFile, handler.AdditionalFiles))
     {
         IPCalcProxy proxy = context.Proxy;
         PCalcResultInfo result = proxy.Start(environment, weight);
         HandleCurrencySymbol(result, environment);
         return new ScenarioResult<PCalcResultInfo>() { Value = result };
     }
 }