Example #1
0
        public override void Configure(ImportActionConfigurationContext context)
        {
            ResetSite         = context.ConfigurationElement.Attr <bool>("ResetSite");
            SuperUserPassword = context.ConfigurationElement.Attr("SuperUserPassword");

            var executionStepsElement = context.ConfigurationElement.Element("Steps");

            if (executionStepsElement == null)
            {
                return;
            }

            foreach (var stepElement in executionStepsElement.Elements())
            {
                var step = _recipeExecutionSteps.SingleOrDefault(x => x.Name == stepElement.Name.LocalName);

                if (step != null)
                {
                    var stepContext = new RecipeExecutionStepConfigurationContext(stepElement);
                    step.Configure(stepContext);
                }
            }
        }
 public virtual void Configure(ImportActionConfigurationContext context)
 {
 }