예제 #1
0
 protected override void ConfigureObjectCollector()
 {
     if (base.ObjectCollector == null)
     {
         var newItemsCollector = new PasswordCollector() { SSHExec = ((SSHConnectionProvider)ConnectionProvider).SSHExec };
         ObjectCollector = new PasswordObjectCollector() { PasswordItemsCollector = newItemsCollector };
         ItemTypeGenerator = new PasswordItemTypeGenerator();
     }
 }
예제 #2
0
 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();
     }
 }
예제 #3
0
 private void CreatePasswordItemsCollectorInstance()
 {
     if (this.PasswordItemsCollector == null)
         this.PasswordItemsCollector = new PasswordCollector();
 }