Example #1
0
        public IEnvironmentBlock Create(IDictionary <string, string> environmentVariables)
        {
            var handle = EnvironmentBlockHandle.Create(environmentVariables);

            return(new EnvironmentBlock(handle));
        }
Example #2
0
        public IEnvironmentBlock Create(TokenHandle token, bool inherit)
        {
            var handle = EnvironmentBlockHandle.Create(token, inherit);

            return(new EnvironmentBlock(handle));
        }
Example #3
0
        public IEnvironmentBlock Create(TokenHandle token, IDictionary <string, string> extraEnvironmentVariables)
        {
            var handle = EnvironmentBlockHandle.Create(token, extraEnvironmentVariables);

            return(new EnvironmentBlock(handle));
        }