/// <summary> /// Creates a disposable for the specified context. /// </summary> /// <param name="context">The context passed to <see cref="DisposeAsync(T)"/>.</param> protected SingleAsyncDisposable(T context) { _context = new BoundAsyncActionField <T>(DisposeAsync, context); }