C# 클래스 GooglePlayServices.CommandLine

파일 보기 프로젝트 열기: googlesamples/unity-jar-resolver 1 사용 예제들

공개 메소드들

메소드 설명
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[]