Example #1
0
        public override void Execute(Machine machine, ValueEnvironment environment)
        {
            ValueEnvironment privateenv = environment.GetNormalEnvironment();

            foreach (string name in this.names)
            {
                if (privateenv.GetValue(name) == null)
                {
                    privateenv.SetEnvironmentValue(name, null);
                }
            }
        }
Example #2
0
        public override void Execute(Machine machine, ValueEnvironment environment)
        {
            ValueEnvironment localenv = environment.GetLocalEnvironment();

            foreach (string name in this.names)
            {
                if (localenv.GetValue(name) == null)
                {
                    localenv.SetEnvironmentValue(name, null);
                }
            }
        }