protected override void ConfigureObjectCollector() { if (base.ObjectCollector == null) { var newItemsCollector = new PasswordCollector() { SSHExec = ((SSHConnectionProvider)ConnectionProvider).SSHExec }; ObjectCollector = new PasswordObjectCollector() { PasswordItemsCollector = newItemsCollector }; ItemTypeGenerator = new PasswordItemTypeGenerator(); } }
protected override void ConfigureObjectCollector() { if (base.ObjectCollector == null) { var commandRunner = ((SSHConnectionProvider)ConnectionProvider).SshCommandLineRunner; var newItemsCollector = new PasswordCollector() { CommandRunner = commandRunner }; ObjectCollector = new PasswordObjectCollector() { PasswordItemsCollector = newItemsCollector }; ItemTypeGenerator = new PasswordItemTypeGenerator(); } }