Esempio n. 1
0
 private void SpawnStandaloneVM(StartupParams startup, IStartupHandler handler)
 {
     ShutdownCreator();
     _standaloneVmCreator            = new StandaloneVMCreator(startup, handler);
     _standaloneVmCreator.VMSpawned += StandaloneVmCreatorVmSpawned;
     _standaloneVmCreator.Create();
 }
Esempio n. 2
0
 private void ShutdownCreator()
 {
     if (_standaloneVmCreator != null)
     {
         _standaloneVmCreator.VMSpawned -= StandaloneVmCreatorVmSpawned;
         _standaloneVmCreator.Dispose();
         _standaloneVmCreator = null;
     }
 }
Esempio n. 3
0
 private void SpawnStandaloneVM(StartupParams startup, IStartupHandler handler)
 {
     ShutdownCreator();
     _standaloneVmCreator = new StandaloneVMCreator(startup, handler);
     _standaloneVmCreator.VMSpawned += StandaloneVmCreatorVmSpawned;
     _standaloneVmCreator.Create();
 }
Esempio n. 4
0
 private void ShutdownCreator()
 {
     if (_standaloneVmCreator != null)
     {
         _standaloneVmCreator.VMSpawned -= StandaloneVmCreatorVmSpawned;
         _standaloneVmCreator.Dispose();
         _standaloneVmCreator = null;
     }
 }