C# 클래스 SIL.FieldWorks.Common.FwUtils.FLExBridgeHelper

Utility methods for FLExBridge interaction
파일 보기 프로젝트 열기: sillsdev/FieldWorks 1 사용 예제들

공개 메소드들

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