예제 #1
0
 public void Dispose()
 {
     if (_vmPowerDriver != null)
     {
         _vmPowerDriver.Dispose();
         _vmPowerDriver = null;
     }
 }
예제 #2
0
 public DriverTaskInstance(
     RemoteInstallConfig config,
     string logpath,
     bool simulationOnly,
     VirtualMachineConfig vmConfig,
     InstallersConfig installersConfig,
     SnapshotConfig snapshotConfig)
 {
     _config = config;
     _vmConfig = vmConfig;
     _simulationOnly = simulationOnly;
     _logpath = logpath;
     _vmPowerDriver = new VirtualMachinePowerDriver(vmConfig, snapshotConfig, simulationOnly);
     _installersConfig = installersConfig;
 }
예제 #3
0
 public DriverTaskInstance(
     RemoteInstallConfig config,
     string logpath,
     bool simulationOnly,
     VirtualMachineConfig vmConfig,
     InstallersConfig installersConfig,
     SnapshotConfig snapshotConfig)
 {
     _config           = config;
     _vmConfig         = vmConfig;
     _simulationOnly   = simulationOnly;
     _logpath          = logpath;
     _vmPowerDriver    = new VirtualMachinePowerDriver(vmConfig, snapshotConfig, simulationOnly);
     _installersConfig = installersConfig;
 }
예제 #4
0
 public void Dispose()
 {
     if (_vmPowerDriver != null)
     {
         _vmPowerDriver.Dispose();
         _vmPowerDriver = null;
     }
 }