C# 클래스 SIL.FieldWorks.FDO.DomainServices.ProjectLockingService

Provides methods for locking/unlocking a project.
파일 보기 프로젝트 열기: sillsdev/FieldWorks

공개 메소드들

메소드 설명
CanLockProject ( FdoCache cache ) : bool

This method will check if the project is an fwdata project, that can be locked.

IsProjectLocked ( string projectPath ) : bool

Determines if the project file at the specified path is locked.

LockCurrentProject ( FdoCache cache ) : void

This method will lock the current project in the cache given this service

UnlockCurrentProject ( FdoCache cache ) : void

This method will unlock the current project in the cache given this service.

메소드 상세

CanLockProject() 공개 정적인 메소드

This method will check if the project is an fwdata project, that can be locked.
public static CanLockProject ( FdoCache cache ) : bool
cache FdoCache
리턴 bool

IsProjectLocked() 공개 정적인 메소드

Determines if the project file at the specified path is locked.
public static IsProjectLocked ( string projectPath ) : bool
projectPath string
리턴 bool

LockCurrentProject() 공개 정적인 메소드

This method will lock the current project in the cache given this service
public static LockCurrentProject ( FdoCache cache ) : void
cache FdoCache
리턴 void

UnlockCurrentProject() 공개 정적인 메소드

This method will unlock the current project in the cache given this service.
public static UnlockCurrentProject ( FdoCache cache ) : void
cache FdoCache
리턴 void