SwitchProcess() private method

Switches the process.
private SwitchProcess ( Process process ) : void
process Process The process.
return void
Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ProcessSwitcher" /> class.
 /// </summary>
 /// <param name="stateCache">The state cache.</param>
 /// <param name="process">The process.</param>
 public ProcessSwitcher(StateCache stateCache, Process process)
 {
     stateCache.SwitchProcess(process);
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ProcessSwitcher" /> class.
 /// </summary>
 /// <param name="stateCache">The state cache.</param>
 /// <param name="process">The process.</param>
 public ProcessSwitcher(StateCache stateCache, Process process)
 {
     stateCache.SwitchProcess(process);
 }