Ejemplo n.º 1
0
        /// <summary>
        /// Runs the specified output.
        /// </summary>
        /// <param name="output">the output</param>
        /// <param name="metadata">the metadata</param>
        public void Run(ITaskOutput output, NameValueCollection metadata)
        {
            var postStep = new Sitecore.Commerce.Connect.CommerceServer.InstallPostStep(DefaultLocalizationFolder);

            postStep.OutputMessage(Translate.Text(CommonTexts.CreateDeployEngagementPlans));
            this.CreateEaPlans();
            this.DeployEaPlans();
            postStep.OutputMessage(Translate.Text(CommonTexts.CreateDeployEngagementPlansComplete));

            postStep.Run(output, metadata);
        }
        /// <summary>
        /// Runs the specified output.
        /// </summary>
        /// <param name="output">the output</param>
        /// <param name="metadata">the metadata</param>
        public void Run(ITaskOutput output, NameValueCollection metadata)
        {
            var postStep = new Sitecore.Commerce.Connect.CommerceServer.InstallPostStep(DefaultLocalizationFolder);

            postStep.OutputMessage(Translate.Text(CommonTexts.CreateDeployEngagementPlans));
            this.CreateEaPlans();
            this.DeployEaPlans();
            postStep.OutputMessage(Translate.Text(CommonTexts.CreateDeployEngagementPlansComplete));

            postStep.Run(output, metadata);
        }