27 string[] pipeArgs = pathMaybeWithPipes.Split(
'|');
28 this.path = pipeArgs[0];
29 if (pipeArgs.Length > 1) {
31 out this.numChannels);
33 if (pipeArgs.Length > 2) {
34 this.combineChannels = !
string.IsNullOrEmpty(pipeArgs[2]) &&
35 (pipeArgs[2].ToUpper().Equals(
"T") ? true :
false);
50 var sb =
new System.Text.StringBuilder();
string path
The file path, cleaned of any pipe syntax.
PipeFileSyntax ChangePath(string newPath)
bool didParseCombineChannels
static PipeFileSyntax Parse(string pathMaybeWithPipes)
bool didParseAnyPipeSyntax
override string ToString()
PipeFileSyntax(string pathMaybeWithPipes)