Ejemplo n.º 1
0
        protected override void Process([NotNull] InstallModulesArgs args)
        {
            Assert.ArgumentNotNull(args, "args");

            AgentHelper.ResetStatus(args.Instance);

            foreach (Product module in args.Modules.Where(m => m.IsPackage))
            {
                if (this.done.Contains(module))
                {
                    continue;
                }

                AgentHelper.PerformPostStepAction(args.Instance, module);

                this.done.Add(module);
            }
        }
        protected override void Process([NotNull] InstallArgs args)
        {
            Assert.ArgumentNotNull(args, nameof(args));

            Assert.IsNotNull(args.Instance, "Instance");

            AgentHelper.ResetStatus(args.Instance);

            foreach (var module in args._Modules.Where(m => m.IsPackage))
            {
                if (_Done.Contains(module))
                {
                    continue;
                }

                AgentHelper.PerformPostStepAction(args.Instance, module);

                _Done.Add(module);
            }
        }