C# Class SIL.FieldWorks.FDO.DomainServices.ProjectLockingService

Provides methods for locking/unlocking a project.
Afficher le fichier Open project: sillsdev/FieldWorks

Méthodes publiques

Méthode Description
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.

Method Details

CanLockProject() public static méthode

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

IsProjectLocked() public static méthode

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

LockCurrentProject() public static méthode

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

UnlockCurrentProject() public static méthode

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