protected override void ConfigureObjectCollector()
        {
            if (base.ObjectCollector == null)
            {
                var sshCommandRunner = ((SSHConnectionProvider)ConnectionProvider).SshCommandLineRunner;
                var newEnvironVarCollector = new EnvironmentVariableCollector() { CommandRunner = sshCommandRunner };

                base.ObjectCollector =
                    new EnvironmentVariableObjectCollector() { EnvironmentVariablesCollector = newEnvironVarCollector };
            }

            if (base.ItemTypeGenerator == null)
                base.ItemTypeGenerator = new EnvironmentVariableItemTypeGenerator();
        }
        protected override void ConfigureObjectCollector()
        {
            if (base.ObjectCollector == null)
            {
                var SSHExec = ((SSHConnectionProvider)ConnectionProvider).SSHExec;
                var newEnvironVarCollector = new EnvironmentVariableCollector() { SSHExec = SSHExec };

                base.ObjectCollector =
                    new EnvironmentVariableObjectCollector() { EnvironmentVariablesCollector = newEnvironVarCollector };
            }

            if (base.ItemTypeGenerator == null)
                base.ItemTypeGenerator = new EnvironmentVariableItemTypeGenerator();
        }
 private void CreateEnvironmentVariablesCollectorInstance()
 {
     if (this.EnvironmentVariablesCollector == null)
         this.EnvironmentVariablesCollector = new EnvironmentVariableCollector();
 }