C# Класс SIL.FieldWorks.Common.FwUtils.FLExBridgeHelper

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

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

Метод Описание
AlertFlex ( ) : void

Acquire the lock on, and then pulse the wait object

DoesProjectHaveFlexRepo ( string projectFolderPath ) : bool

Answer whether the project appears to have a FLEx repo. This is currently determined by its having a .hg folder.

FullFieldWorksBridgePath ( ) : string

Returns the full path and filename of the FieldWorksBridge executable

IsFlexBridgeInstalled ( ) : bool

Determines if FLExBridge is installed.

Приватные методы

Метод Описание
AddArg ( string &extant, string flag, string value ) : void
BeginEmergencyExitChute ( string pipeID ) : void
CleanupHost ( ) : void Called when the connection with FLExBridge terminates (currently ~15 seconds after the user closes the FB window)
KillTheHost ( IIPCHost host ) : void
LaunchFieldworksBridge ( string projectFolder, string userName, string command, string projectGuid, int fwmodelVersionNumber, string liftModelVersionNumber, string writingSystemId, System.Action onNonBlockerCommandComplete, bool &changesReceived, string &projectName ) : bool
LaunchFlexBridge ( IIPCHost host, string command, string args, System.Action onNonBlockerCommandComplete, bool &changesReceived, string &projectName ) : void
SignalCompletion ( ) : void

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

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

Acquire the lock on, and then pulse the wait object
public static AlertFlex ( ) : void
Результат void

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

Answer whether the project appears to have a FLEx repo. This is currently determined by its having a .hg folder.
public static DoesProjectHaveFlexRepo ( string projectFolderPath ) : bool
projectFolderPath string Path to the project folder
Результат bool

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

Returns the full path and filename of the FieldWorksBridge executable
public static FullFieldWorksBridgePath ( ) : string
Результат string

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

Determines if FLExBridge is installed.
public static IsFlexBridgeInstalled ( ) : bool
Результат bool