Example #1
0
        protected override void ConfigureObjectCollector()
        {
            if (base.ObjectCollector == null)
            {
                var unameCollector = new UnameCollector() { CommandRunner = ((SSHConnectionProvider)ConnectionProvider).SshCommandLineRunner };
                base.ObjectCollector = new UnameObjectCollector() { UnameCollector = unameCollector };
            }

            if (base.ItemTypeGenerator == null)
                base.ItemTypeGenerator = new UnameItemTypeGenerator();
        }
Example #2
0
        protected override void ConfigureObjectCollector()
        {
            if (base.ObjectCollector == null)
            {
                var unameCollector = new UnameCollector() { SSHExec = ((SSHConnectionProvider)ConnectionProvider).SSHExec };
                base.ObjectCollector = new UnameObjectCollector() { UnameCollector = unameCollector };
            }

            if (base.ItemTypeGenerator == null)
                base.ItemTypeGenerator = new UnameItemTypeGenerator();
        }