C# Class HoloToolkit.Sharing.Utilities.ExternalProcess

Inheritance: IDisposable
Afficher le fichier Open project: Microsoft/HoloToolkit-Unity

Private Properties

Свойство Type Description
ExternalProcess System
ExternalProcessAPI_ConfirmOrBeginProcess void
ExternalProcessAPI_CreateProcess System.IntPtr
ExternalProcessAPI_DestroyProcess void
ExternalProcessAPI_GetLine System.IntPtr
ExternalProcessAPI_IsRunning bool
ExternalProcessAPI_SendLine void

Méthodes publiques

Méthode Description
CreateExternalProcess ( string appName ) : ExternalProcess
CreateExternalProcess ( string appName, string args ) : ExternalProcess
Dispose ( ) : void
FindAndLaunch ( string appName ) : bool
FindAndLaunch ( string appName, string args ) : bool
FindPathToExecutable ( string appName ) : string
GetLine ( ) : string
IsRunning ( ) : bool
Launch ( string appName ) : void
MakeRelativePath ( string path1, string path2 ) : string
SendLine ( string line ) : void
Terminate ( ) : void
WaitFor ( float seconds, Func func ) : bool
WaitForShutdown ( float seconds ) : bool
WaitForStart ( float seconds ) : bool

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
ExternalProcess ( string appName, string args ) : System
ExternalProcessAPI_ConfirmOrBeginProcess ( [ processName ) : void
ExternalProcessAPI_CreateProcess ( [ cmdline ) : IntPtr
ExternalProcessAPI_DestroyProcess ( IntPtr handle ) : void
ExternalProcessAPI_GetLine ( IntPtr handle ) : IntPtr
ExternalProcessAPI_IsRunning ( IntPtr handle ) : bool
ExternalProcessAPI_SendLine ( IntPtr handle, [ line ) : void

Method Details

CreateExternalProcess() static public méthode

static public CreateExternalProcess ( string appName ) : ExternalProcess
appName string
Résultat ExternalProcess

CreateExternalProcess() static public méthode

static public CreateExternalProcess ( string appName, string args ) : ExternalProcess
appName string
args string
Résultat ExternalProcess

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

FindAndLaunch() static public méthode

static public FindAndLaunch ( string appName ) : bool
appName string
Résultat bool

FindAndLaunch() static public méthode

static public FindAndLaunch ( string appName, string args ) : bool
appName string
args string
Résultat bool

FindPathToExecutable() static public méthode

static public FindPathToExecutable ( string appName ) : string
appName string
Résultat string

GetLine() public méthode

public GetLine ( ) : string
Résultat string

IsRunning() public méthode

public IsRunning ( ) : bool
Résultat bool

Launch() static public méthode

static public Launch ( string appName ) : void
appName string
Résultat void

MakeRelativePath() static public méthode

static public MakeRelativePath ( string path1, string path2 ) : string
path1 string
path2 string
Résultat string

SendLine() public méthode

public SendLine ( string line ) : void
line string
Résultat void

Terminate() public méthode

public Terminate ( ) : void
Résultat void

WaitFor() public méthode

public WaitFor ( float seconds, Func func ) : bool
seconds float
func Func
Résultat bool

WaitForShutdown() public méthode

public WaitForShutdown ( float seconds ) : bool
seconds float
Résultat bool

WaitForStart() public méthode

public WaitForStart ( float seconds ) : bool
seconds float
Résultat bool