예제 #1
0
 static public void Execute(this ExternalRunner_Command item)
 {
     item.Execute(item.GetDefaultArguments());
 }
예제 #2
0
 static public void Execute(this ExternalRunner_Command item, string arguments)
 {
     item.ExecuteToReader(arguments);
 }
예제 #3
0
 static public void Execute(this ExternalRunner_Command item, IEnumerable <string> arguments)
 {
     item.Execute(arguments.MakeCommand());
 }
예제 #4
0
 static public string ExecuteToText(this ExternalRunner_Command item)
 {
     return(item.ExecuteToText(item.GetDefaultArguments()));
 }
예제 #5
0
 static public string ExecuteToText(this ExternalRunner_Command item, IEnumerable <string> arguments)
 {
     return(item.ExecuteToText(arguments.MakeCommand()));
 }
예제 #6
0
 static public string ExecuteToText(this ExternalRunner_Command item, string arguments)
 {
     return(item.ExecuteToReader(arguments).ReadToEnd());
 }
예제 #7
0
 static public Stream ExecuteToStream(this ExternalRunner_Command item)
 {
     return(item.ExecuteToStream(item.GetDefaultArguments()));
 }
예제 #8
0
 static public Stream ExecuteToStream(this ExternalRunner_Command item, string arguments)
 {
     return(item.ExecuteToReader(arguments).BaseStream);
 }