Exemple #1
0
 /// <summary>
 /// Gets called when a lock was released
 /// </summary>
 /// <param name="activeLock">The lock that was released</param>
 protected virtual void OnLockReleased(IActiveLock activeLock)
 {
     LockReleased?.Invoke(this, new LockEventArgs(activeLock));
 }
 private void OnLockReleased(object sender, ElapsedEventArgs elapsedEventArgs)
 {
     LockReleased?.Invoke(this, EventArgs.Empty);
 }