Esempio n. 1
0
 public override void UpdateStep(UpdateRecipeExecutionStepContext context) {
     SetBatchSizeForDataStep(context.Step, BatchSize);
 }
Esempio n. 2
0
 public virtual void UpdateStep(UpdateRecipeExecutionStepContext context) {
 }
Esempio n. 3
0
        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);
            }
        }