C# Класс SIL.FieldWorks.FDO.DomainServices.ProjectLockingService

Provides methods for locking/unlocking a project.
Показать файл Открыть проект

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

Метод Описание
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