Inheritance: System.Management.Automation.PSCmdlet, IDisposable
			public ProgressWorker(InvokeParallelCommand cmdlet) : base(cmdlet)
			{
				_progressManager = new ProgressManager(cmdlet.ProgressId, cmdlet.ProgressActivity, $"Processing with {cmdlet.ThrottleLimit} workers", cmdlet.ParentProgressId);
				_input = new List<PSObject>(500);
			}
			public NoProgressWorker(InvokeParallelCommand cmdlet) : base(cmdlet)
			{
			}
			protected WorkerBase(InvokeParallelCommand cmdlet)
			{
				Cmdlet = cmdlet;
				Pool = cmdlet.PowershellPool;
			}
示例#4
0
 public ProgressWorker(InvokeParallelCommand cmdlet) : base(cmdlet)
 {
     _progressManager = new ProgressManager(cmdlet.ProgressId, cmdlet.ProgressActivity, $"Processing with {cmdlet.ThrottleLimit} workers", cmdlet.ParentProgressId);
     _input           = new List <PSObject>(500);
 }
示例#5
0
 public NoProgressWorker(InvokeParallelCommand cmdlet) : base(cmdlet)
 {
 }
示例#6
0
 protected WorkerBase(InvokeParallelCommand cmdlet)
 {
     Cmdlet = cmdlet;
     Pool   = cmdlet.PowershellPool;
 }