/// <summary> /// Initializes a new instance of the <see cref="Releaser"/> struct. /// </summary> /// <param name="semaphore">The semaphore.</param> public Releaser(AsyncSemaphore semaphore) { _semaphore = semaphore; }
/// <summary> /// Initializes a new instance of the <see cref="AsyncLock" /> class. /// </summary> public AsyncLock() { _semaphore = new AsyncSemaphore(); }