C# Класс GooglePlayServices.CommandLine

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

FindExecutable() публичный статический Метод

Locate an executable in the system path.
public static FindExecutable ( string executable ) : string
executable string
Результат string

GetExecutableExtension() публичный статический Метод

Get an executable extension.
public static GetExecutableExtension ( ) : string
Результат string

Run() публичный статический Метод

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.
Результат System.Result

RunAsync() публичный статический Метод

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.
Результат void

SplitLines() публичный статический Метод

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
Результат string[]