C# Class GooglePlayServices.CommandLine

Afficher le fichier Open project: googlesamples/unity-jar-resolver Class Usage Examples

Méthodes publiques

Méthode Description
FindExecutable ( string executable ) : string

Locate an executable in the system path.

GetExecutableExtension ( ) : string

Get an executable extension.

Run ( string toolPath, string arguments, string workingDirectory = null, string>.Dictionary envVars = null, IOHandler ioHandler = null ) : System.Result

Execute a command line tool.

RunAsync ( string toolPath, string arguments, CompletionHandler completionDelegate, string workingDirectory = null, string>.Dictionary envVars = null, IOHandler ioHandler = null ) : void

Asynchronously execute a command line tool, calling the specified delegate on completion.

SplitLines ( string multilineString ) : string[]

Split a string into lines using newline, carriage return or a combination of both.

Method Details

FindExecutable() public static méthode

Locate an executable in the system path.
public static FindExecutable ( string executable ) : string
executable string
Résultat string

GetExecutableExtension() public static méthode

Get an executable extension.
public static GetExecutableExtension ( ) : string
Résultat string

Run() public static méthode

Execute a command line tool.
public static Run ( string toolPath, string arguments, string workingDirectory = null, string>.Dictionary envVars = null, IOHandler ioHandler = null ) : System.Result
toolPath string Tool to execute.
arguments string String to pass to the tools' command line.
workingDirectory string Directory to execute the tool from.
envVars string>.Dictionary Additional environment variables to set for the command.
ioHandler IOHandler Allows a caller to provide interactive input and also handle /// both output and error streams from a single delegate.
Résultat System.Result

RunAsync() public static méthode

Asynchronously execute a command line tool, calling the specified delegate on completion.
public static RunAsync ( string toolPath, string arguments, CompletionHandler completionDelegate, string workingDirectory = null, string>.Dictionary envVars = null, IOHandler ioHandler = null ) : void
toolPath string Tool to execute.
arguments string String to pass to the tools' command line.
completionDelegate CompletionHandler Called when the tool completes.
workingDirectory string Directory to execute the tool from.
envVars string>.Dictionary Additional environment variables to set for the command.
ioHandler IOHandler Allows a caller to provide interactive input and also handle /// both output and error streams from a single delegate.
Résultat void

SplitLines() public static méthode

Split a string into lines using newline, carriage return or a combination of both.
public static SplitLines ( string multilineString ) : string[]
multilineString string String to split into lines
Résultat string[]