public CmdletScope(CurrentCmdletContext context, ICmdletContext cmdlet)
 {
     _context = context;
     _previousCmdletContext       = _context.ActiveCmdletContext;
     _context.ActiveCmdletContext = cmdlet;
 }
 public CmdletScope( CurrentCmdletContext context, ICmdletContext cmdlet )
 {
     _context = context;
     _previousCmdletContext = _context.ActiveCmdletContext;
     _context.ActiveCmdletContext = cmdlet;
 }
 public CurrentCmdletScriptPack()
 {
     _context = new CurrentCmdletContext(new NullCmdletContext());
 }
 public CurrentCmdletScriptPack()
 {
     _context = new CurrentCmdletContext( new NullCmdletContext() );
 }