Exemplo n.º 1
0
 /// <summary>
 /// Creates a disposable for the specified context.
 /// </summary>
 /// <param name="context">The context passed to <see cref="Dispose(T)"/>.</param>
 protected SingleDisposable(T context)
 {
     _context = new BoundActionField <T>(Dispose, context);
 }