コード例 #1
0
 public virtual void UpdateStep(UpdateRecipeExecutionStepContext context)
 {
 }
コード例 #2
0
ファイル: ContentStep.cs プロジェクト: Higea/Orchard
 public override void UpdateStep(UpdateRecipeExecutionStepContext context) {
     SetBatchSizeForDataStep(context.Step, BatchSize);
 }
コード例 #3
0
ファイル: RecipeExecutionStep.cs プロジェクト: Higea/Orchard
 public virtual void UpdateStep(UpdateRecipeExecutionStepContext context) {
 }
コード例 #4
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);
            }
        }