/// <summary>
 /// Prepares set of applications and store them into PreparedApplications.
 /// </summary>
 /// <param name="applications">Applications to be prepared.</param>
 public override void PrepareApplications(List <Application> applications)
 {
     foreach (var app in applications)
     {
         _appServices.Add(app, _webAppList.Single(x => x.Key.WithApplication == app.Name).Key);
         _webApps.Add(app, _webAppList.Single(x => x.Key.WithApplication == app.Name).Value);
         PreparedApplications.Add(app);
     }
 }
        /// <summary>
        /// Deploys set of applications and store them into DeployedApplications.
        /// </summary>
        /// <param name="applications">Applications to be deployed.</param>
        public override void DeployApplications(List <Application> applications)
        {
            Init();

            foreach (var application in applications)
            {
                if (PreparedApplications.Contains(application))
                {
                    Deploy((dynamic)application);
                }
            }
        }