Exemplo n.º 1
0
 internal MergingRedirection(RedirectionStream from, RedirectionStream to) : base(from)
 {
     if (to != RedirectionStream.Output)
     {
         throw PSTraceSource.NewArgumentException("to");
     }
 }
Exemplo n.º 2
0
 internal MergingRedirection(RedirectionStream from, RedirectionStream to) : base(from)
 {
     if (to != RedirectionStream.Output)
     {
         throw PSTraceSource.NewArgumentException("to");
     }
 }
Exemplo n.º 3
0
 public FileRedirectionAst(IScriptExtent extent, RedirectionStream stream, ExpressionAst file, bool append) : base(extent, stream)
 {
     if (file == null)
     {
         throw PSTraceSource.NewArgumentNullException("file");
     }
     this.Location = file;
     base.SetParent(file);
     this.Append = append;
 }
Exemplo n.º 4
0
 public FileRedirectionAst(IScriptExtent extent, RedirectionStream stream, ExpressionAst file, bool append) : base(extent, stream)
 {
     if (file == null)
     {
         throw PSTraceSource.NewArgumentNullException("file");
     }
     this.Location = file;
     base.SetParent(file);
     this.Append = append;
 }
Exemplo n.º 5
0
 public FileRedirectionAst(IScriptExtent extent, RedirectionStream stream, ExpressionAst file, bool append)
     : base(extent, stream)
 {
     this.Append = append;
     this.Location = file;
 }
Exemplo n.º 6
0
 internal MergingRedirectionToken(InternalScriptExtent scriptExtent, RedirectionStream from, RedirectionStream to) : base(scriptExtent, TokenKind.Redirection)
 {
     this.FromStream = from;
     this.ToStream   = to;
 }
Exemplo n.º 7
0
 FileRedirectionOperator(RedirectionStream redirectionStream, bool append = false)
 {
     FromStream = redirectionStream;
     IsAppend = append;
 }
Exemplo n.º 8
0
 public FileRedirectionAst(IScriptExtent extent, RedirectionStream stream, ExpressionAst file, bool append)
     : base(extent, stream)
 {
     this.Append   = append;
     this.Location = file;
 }
Exemplo n.º 9
0
 protected RedirectionAst(IScriptExtent extent, RedirectionStream from)
     : base(extent)
 {
     this.FromStream = from;
 }
Exemplo n.º 10
0
 internal FileRedirection(RedirectionStream from, bool appending, string file) : base(from)
 {
     this.File      = file;
     this.Appending = appending;
 }
Exemplo n.º 11
0
 public MergingRedirectionAst(IScriptExtent extent, RedirectionStream from, RedirectionStream to)
     : base(extent, from)
 {
 }
Exemplo n.º 12
0
 internal FileRedirection(RedirectionStream from, bool appending, string file) : base(from)
 {
     this.File = file;
     this.Appending = appending;
 }
Exemplo n.º 13
0
 protected CommandRedirection(RedirectionStream from)
 {
     this.FromStream = from;
 }
Exemplo n.º 14
0
 protected CommandRedirection(RedirectionStream from)
 {
     this.FromStream = from;
 }
Exemplo n.º 15
0
 internal FileRedirectionToken(InternalScriptExtent scriptExtent, RedirectionStream from, bool append)
     : base(scriptExtent, TokenKind.Redirection)
 {
     this.FromStream = from;
     this.Append = append;
 }
Exemplo n.º 16
0
 internal MergingRedirectionToken(InternalScriptExtent scriptExtent, RedirectionStream from, RedirectionStream to)
     : base(scriptExtent, TokenKind.Redirection)
 {
     this.FromStream = from;
     this.ToStream = to;
 }
Exemplo n.º 17
0
 protected RedirectionAst(IScriptExtent extent, RedirectionStream from)
     : base(extent)
 {
     this.FromStream = from;
 }
Exemplo n.º 18
0
 internal FileRedirectionToken(InternalScriptExtent scriptExtent, RedirectionStream from, bool append) : base(scriptExtent, TokenKind.Redirection)
 {
     this.FromStream = from;
     this.Append     = append;
 }
Exemplo n.º 19
0
 public MergingRedirectionAst(IScriptExtent extent, RedirectionStream from, RedirectionStream to)
     : base(extent, from)
 {
 }
Exemplo n.º 20
0
 FileRedirectionOperator(RedirectionStream redirectionStream, bool append = false)
 {
     FromStream = redirectionStream;
     IsAppend   = append;
 }