Пример #1
0
 internal LocalPipeline(System.Management.Automation.Runspaces.LocalRunspace runspace, CommandCollection command, bool addToHistory, bool isNested, ObjectStreamBase inputStream, ObjectStreamBase outputStream, ObjectStreamBase errorStream, PSInformationalBuffers infoBuffers) : base(runspace, command, addToHistory, isNested, inputStream, outputStream, errorStream, infoBuffers)
 {
     this._historyIdForThisPipeline = -1L;
     this._invokeHistoryIds = new List<long>();
     this._stopper = new PipelineStopper(this);
     this.InitStreams();
 }
Пример #2
0
 internal LocalPipeline(LocalPipeline pipeline) : base(pipeline)
 {
     this._historyIdForThisPipeline = -1L;
     this._invokeHistoryIds = new List<long>();
     this._stopper = new PipelineStopper(this);
     this.InitStreams();
 }
Пример #3
0
 internal LocalPipeline(System.Management.Automation.Runspaces.LocalRunspace runspace, string command, bool addToHistory, bool isNested) : base(runspace, command, addToHistory, isNested)
 {
     this._historyIdForThisPipeline = -1L;
     this._invokeHistoryIds = new List<long>();
     this._stopper = new PipelineStopper(this);
     this.InitStreams();
 }
Пример #4
0
 internal LocalPipeline(System.Management.Automation.Runspaces.LocalRunspace runspace, CommandCollection command, bool addToHistory, bool isNested, ObjectStreamBase inputStream, ObjectStreamBase outputStream, ObjectStreamBase errorStream, PSInformationalBuffers infoBuffers) : base(runspace, command, addToHistory, isNested, inputStream, outputStream, errorStream, infoBuffers)
 {
     this._historyIdForThisPipeline = -1L;
     this._invokeHistoryIds         = new List <long>();
     this._stopper = new PipelineStopper(this);
     this.InitStreams();
 }
Пример #5
0
 internal LocalPipeline(System.Management.Automation.Runspaces.LocalRunspace runspace, string command, bool addToHistory, bool isNested) : base(runspace, command, addToHistory, isNested)
 {
     this._historyIdForThisPipeline = -1L;
     this._invokeHistoryIds         = new List <long>();
     this._stopper = new PipelineStopper(this);
     this.InitStreams();
 }
Пример #6
0
 internal LocalPipeline(LocalPipeline pipeline) : base(pipeline)
 {
     this._historyIdForThisPipeline = -1L;
     this._invokeHistoryIds         = new List <long>();
     this._stopper = new PipelineStopper(this);
     this.InitStreams();
 }
Пример #7
0
 internal LocalPipeline(
     LocalRunspace runspace,
     string command,
     bool addToHistory,
     bool isNested)
     : base((Runspace)runspace, command, addToHistory, isNested)
 {
     this._stopper = new PipelineStopper(this);
     this.InitStreams();
 }
Пример #8
0
 /// <summary>
 /// Create a Pipeline with an existing command string.
 /// Caller should validate all the parameters.
 /// </summary>
 /// <param name="runspace">
 /// The LocalRunspace to associate with this pipeline.
 /// </param>
 /// <param name="command">
 /// The command to execute.
 /// </param>
 /// <param name="addToHistory">
 /// If true, add the command(s) to the history list of the runspace.
 /// </param>
 /// <param name="isNested">
 /// If true, mark this pipeline as a nested pipeline.
 /// </param>
 /// <param name="inputStream">
 /// Stream to use for reading input objects.
 /// </param>
 /// <param name="errorStream">
 /// Stream to use for writing error objects.
 /// </param>
 /// <param name="outputStream">
 /// Stream to use for writing output objects.
 /// </param>
 /// <param name="infoBuffers">
 /// Buffers used to write progress, verbose, debug, warning, information
 /// information of an invocation.
 /// </param>
 internal LocalPipeline(LocalRunspace runspace,
     CommandCollection command,
     bool addToHistory,
     bool isNested,
     ObjectStreamBase inputStream,
     ObjectStreamBase outputStream,
     ObjectStreamBase errorStream,
     PSInformationalBuffers infoBuffers)
     : base(runspace, command, addToHistory, isNested, inputStream, outputStream, errorStream, infoBuffers)
 {
     _stopper = new PipelineStopper(this);
     InitStreams();
 }
Пример #9
0
 internal LocalPipeline(
     LocalRunspace runspace,
     CommandCollection command,
     bool addToHistory,
     bool isNested,
     ObjectStreamBase inputStream,
     ObjectStreamBase outputStream,
     ObjectStreamBase errorStream,
     PSInformationalBuffers infoBuffers)
     : base((Runspace)runspace, command, addToHistory, isNested, inputStream, outputStream, errorStream, infoBuffers)
 {
     this._stopper = new PipelineStopper(this);
     this.InitStreams();
 }
Пример #10
0
 /// <summary>
 /// Copy constructor to support cloning
 /// </summary>
 /// <param name="pipeline">The source pipeline</param>
 internal LocalPipeline(LocalPipeline pipeline)
     : base((PipelineBase)(pipeline))
 {
     _stopper = new PipelineStopper(this);
     InitStreams();
 }
Пример #11
0
 /// <summary>
 /// Create a Pipeline with an existing command string.
 /// </summary>
 /// <param name="runspace">The LocalRunspace to associate with this
 /// pipeline.
 /// </param>
 /// <param name="command">The command string to parse.</param>
 /// <param name="addToHistory">if true, add pipeline to history</param>
 /// <param name="isNested">True for nested pipeline</param>
 internal LocalPipeline(LocalRunspace runspace, string command, bool addToHistory, bool isNested)
     : base((Runspace)runspace, command, addToHistory, isNested)
 {
     _stopper = new PipelineStopper(this);
     InitStreams();
 }
Пример #12
0
 internal LocalPipeline(LocalPipeline pipeline)
     : base((PipelineBase)pipeline)
 {
     this._stopper = new PipelineStopper(this);
     this.InitStreams();
 }