public override void Configure(ExportActionConfigurationContext context) { RecipeBuilderSteps.Clear(); var recipeBuilderStepsElement = context.ConfigurationElement.Element("Steps"); if (recipeBuilderStepsElement == null) return; foreach (var stepElement in recipeBuilderStepsElement.Elements()) { var step = _recipeBuilderSteps.SingleOrDefault(x => x.Name == stepElement.Name.LocalName); if (step != null) { var stepContext = new RecipeBuilderStepConfigurationContext(stepElement); step.Configure(stepContext); RecipeBuilderSteps.Add(step); } } }
public virtual void Configure(ExportActionConfigurationContext context) { }