public virtual void UpdateStep(UpdateRecipeExecutionStepContext context) { }
public override void UpdateStep(UpdateRecipeExecutionStepContext context) { SetBatchSizeForDataStep(context.Step, BatchSize); }
private void PrepareRecipe(XDocument recipeDocument) { var query = from stepElement in recipeDocument.Element("Orchard").Elements() let step = _recipeExecutionSteps.SingleOrDefault(x => x.Name == stepElement.Name.LocalName) where step != null select new { Step = step, StepElement = stepElement }; foreach (var step in query) { var context = new UpdateRecipeExecutionStepContext { Step = step.StepElement }; step.Step.UpdateStep(context); } }