/// <summary>
 /// Initializes a new instance of <see cref="LockExiter"/>.
 /// </summary>
 /// <param name="exitLockMethod">The delegate to invoke if a call to <paramref name="verifyLockMethod"/> returns true.</param>
 /// <param name="verifyLockMethod">The delegate indicating whether <paramref name="exitLockMethod"/> is allowed to be invoked.</param>
 public LockExiter(ExitLock exitLockMethod, VerifyLock verifyLockMethod)
 {
   _exitLock = exitLockMethod;
   _verifyLock = verifyLockMethod;
 }
 /// <summary>
 /// Initializes a new instance of <see cref="LockExiter"/>.
 /// </summary>
 /// <param name="exitLockMethod">The delegate to invoke if a call to <paramref name="verifyLockMethod"/> returns true.</param>
 /// <param name="verifyLockMethod">The delegate indicating whether <paramref name="exitLockMethod"/> is allowed to be invoked.</param>
 public LockExiter(ExitLock exitLockMethod, VerifyLock verifyLockMethod)
 {
     _exitLock   = exitLockMethod;
     _verifyLock = verifyLockMethod;
 }