Exemplo n.º 1
0
 private void ExecuteDeploymentSteps(
     IBootstrapper bootstrapper, DeploymentContext context)
 {
     foreach (IDeploymentStep deploymentStep
              in bootstrapper.GetMany <IDeploymentStep>())
     {
         try
         {
             deploymentStep.Execute(context);
         }
         catch (Exception exception)
         {
             throw new InvalidOperationException(
                       Resources.DeploymentStepFailed, exception);
         }
     }
 }