protected virtual Thrust SetFocusPrice(Thrust thrust) { // set the focus price IPatternFactory thrustFactory = ObjectBase.Container.GetExportedValue <IPatternFactory>("ThrustFactory"); thrustFactory.Initialize(_parameters); thrust = (Thrust)thrustFactory.BuildPattern(_chart, thrust); return(thrust); }