Пример #1
0
 /// <exclude />
 protected void AcquireLock(EntityToken entityToken)
 {
     ActionLockingFacade.AcquireLock(entityToken, this.WorkflowInstanceId);
 }
        public void AcquireLock(Guid instanceId, EntityToken entityToken)
        {
            Verify.That(!ActionLockingFacade.IsLocked(entityToken), "The entityToken is already locked");

            ActionLockingFacade.AcquireLock(entityToken, instanceId);
        }